markusmobius / go-dateparser

go parser for human readable dates ported from the dateparser python package
BSD 3-Clause "New" or "Revised" License
49 stars 4 forks source link

ET not parsed correctly #16

Open georgesfarah opened 1 month ago

georgesfarah commented 1 month ago

Hello!

This input 11:00am ET is giving an output of time.Date(now.Year(), now.Month(), now.Day(), 16, 0, 0, 0, time.UTC) instead of time.Date(now.Year(), now.Month(), now.Day(), 15, 0, 0, 0, time.UTC)

configs:

&dateparser.Configuration{
                DefaultTimezone:     time.UTC,
                CurrentTime:         now,
                PreferredDateSource: dateparser.Future,
            },