feat: add global system notices and Beijing order time display
Deploy olons-server production / deploy (push) Successful in 3m12s

This commit is contained in:
richjohnrambo
2026-10-22 21:56:07 +08:00
parent 9bb479b506
commit 8ce67648b1
22 changed files with 581 additions and 121 deletions
+13
View File
@@ -0,0 +1,13 @@
package store
import (
"testing"
"time"
)
func TestFormatNoticeBusinessTimeUsesShanghaiWallClock(t *testing.T) {
value := time.Date(2026, 10, 22, 6, 12, 38, 0, time.UTC)
if got, want := formatNoticeBusinessTime(value), "2026-10-22 14:12:38"; got != want {
t.Fatalf("formatNoticeBusinessTime() = %q, want %q", got, want)
}
}