Compare commits

..
0 Commits
-8
View File
@@ -106,11 +106,3 @@ 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)
}
func IsZeroTime(t time.Time) bool {
return t.IsZero() || t.Year() == 1970
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.