From ba21b39c41b04259d584ccf6f3b037b75b43fc49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E8=8C=B6=E6=B8=85=E6=AC=A2?= Date: Sat, 21 Mar 2026 10:32:10 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0=E8=8E=B7=E5=8F=96?= =?UTF-8?q?=E7=A9=BA=E6=97=B6=E5=8C=BA=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- op_time/time.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/op_time/time.go b/op_time/time.go index 28bbed4..cb4db16 100644 --- a/op_time/time.go +++ b/op_time/time.go @@ -106,3 +106,7 @@ func (t *Time) getTimeFormat(defaultFormat string, layout ...string) string { } return defaultFormat } + +func DefaultZeroTime() time.Time { + return time.Date(1970, 1, 1, 0, 0, 0, 0, time.Local) +}