diff options
| author | Jeff Carr <[email protected]> | 2025-10-26 12:35:32 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-26 12:35:32 -0500 |
| commit | d7ee602d7352943d12e8588623a364c1bf2214ed (patch) | |
| tree | e603db567a3fe9a5745c8aec393f6e7694b03c37 /time.go | |
| parent | 6420336fb6208b7d4b3c40b7b215e38ad8b7f76c (diff) | |
another case
Diffstat (limited to 'time.go')
| -rw-r--r-- | time.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -34,6 +34,9 @@ func isUTC(t time.Time) bool { func TimeLocal(someTimeAgoOrLaterNotsure any) string { guess, t, err := TimeCheck(someTimeAgoOrLaterNotsure) + if t != nil { + return FormatTimeLocal(*t) + } if errors.Is(err, Broken) { if len(guess) > 0 { return fmt.Sprintf("%-15s", guess) |
