mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 03:58:22 +08:00
Fix: Convert CheckUpdateInterval type (fixed #1203)
Fix: Update datetime regex
This commit is contained in:
@@ -21,9 +21,8 @@ from module.logger import logger
|
||||
from module.webui.setting import State
|
||||
|
||||
RE_DATETIME = (
|
||||
r"(\d{2}|\d{4})(?:\-)?([0]{1}\d{1}|[1]{1}[0-2]{1})(?:\-)?"
|
||||
+ r"([0-2]{1}\d{1}|[3]{1}[0-1]{1})(?:\s)?([0-1]{1}\d{1}|[2]"
|
||||
+ r"{1}[0-3]{1})(?::)?([0-5]{1}\d{1})(?::)?([0-5]{1}\d{1})"
|
||||
r"\d{4}\-(0\d|1[0-2])\-([0-2]\d|[3][0-1]) "
|
||||
r"([0-1]\d|[2][0-3]):([0-5]\d):([0-5]\d)"
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user