diff options
Diffstat (limited to 'time.go')
| -rw-r--r-- | time.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -29,6 +29,10 @@ func Time(someTimeAgoOrLaterNotsure any) string { return FormatTime(*t) } +func isUTC(t time.Time) bool { + return t.Location() == time.UTC +} + func TimeLocal(someTimeAgoOrLaterNotsure any) string { guess, t, err := TimeCheck(someTimeAgoOrLaterNotsure) if errors.Is(err, Broken) { |
