✏️ 时间格式化

This commit is contained in:
Liang Ding 2022-06-06 10:33:42 +08:00
parent 42513e0d6f
commit f1112634a4
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -122,7 +122,7 @@ func SyncData(boot, exit, byHand bool) {
util.BroadcastByType("main", "syncing", 0, Conf.Language(81), nil)
defer func() {
synced := util.Millisecond2Time(Conf.Sync.Synced).Format("2006-01-02-15:04:05") + "\n\n" + Conf.Sync.Stat
synced := util.Millisecond2Time(Conf.Sync.Synced).Format("2006-01-02 15:04:05") + "\n\n" + Conf.Sync.Stat
msg := fmt.Sprintf(Conf.Language(82), synced)
Conf.Sync.Stat = msg
Conf.Save()