️ 提升了time类函数的效率和整洁度

This commit is contained in:
Nanaloveyuki
2025-07-28 17:35:51 +08:00
parent 388b1c2b75
commit d3d9613acc
4 changed files with 64 additions and 25 deletions

View File

@ -28,6 +28,9 @@ DEFAULT_CONFIG = {
"console_prefix": "Auto",
"console_encoding": "utf-8",
"asctime_format": "%Y-%m-%d %H:%M:%S",
"time_format": "%H:%M:%S",
"date_format": "%Y-%m-%d",
"weekday_format": "%A",
"level_name": {"DEBUG": "DEBUG", "INFO": "INFO", "WARN": "WARN", "ERRO": "ERRO", "CRIT": "CRIT"},
"level_color": {"DEBUG": "#c1d5ff", "INFO": "#c1ffff", "WARN": "#fff600", "ERRO": "#ffa000", "CRIT": "#ff8181"},
}