👽️ Support changes in go-dateparser

This commit is contained in:
Dan Jones 2024-10-07 15:50:33 -05:00
commit ece9256745
2 changed files with 16 additions and 3 deletions

View file

@ -23,7 +23,7 @@ func TestParseDate(t *testing.T) {
firstMonth := time.Date(y, mon, 1, 0, 0, 0, 0, loc)
firstYear := time.Date(y, 1, 1, 0, 0, 0, 0, loc)
exact := "2075-02-12T12:13:54.536-02:00"
exactd, _ := time.ParseInLocation(time.RFC3339, exact, time.FixedZone("UTC-02:00", -7200))
exactd, _ := time.ParseInLocation(time.RFC3339, exact, nil)
var ts int64 = 1708876012
tsd := time.Unix(ts, 0)
ent := "February 25, 2024 at 04:00:13AM +0230"