diff options
| author | JP Appel <jeanpierre.appel01@gmail.com> | 2025-06-12 02:11:25 -0400 |
|---|---|---|
| committer | JP Appel <jeanpierre.appel01@gmail.com> | 2025-06-12 02:11:25 -0400 |
| commit | 3471cc1068a207ea317161313ab514d1b180b357 (patch) | |
| tree | a79c6a66acd34a5c15a4a74b6da11e24ce021283 /pkg/util/util.go | |
| parent | f7270b4bf0ed45e08ed9d63e0f1dea6bcf55e791 (diff) | |
Add more date formats for parsing
Diffstat (limited to 'pkg/util/util.go')
| -rw-r--r-- | pkg/util/util.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/util/util.go b/pkg/util/util.go index 9466e69..a1dc37c 100644 --- a/pkg/util/util.go +++ b/pkg/util/util.go @@ -6,6 +6,9 @@ func ParseDateTime(s string) (time.Time, error) { dateFormats := []string{ "Jan _2, 2006", "January 2, 2006", + "January 2 2006", + "Jan 2 2006", + "2006 January 2", time.DateOnly, time.DateTime, time.Layout, |
