Open
Description
Not sure why this is happening, but the following strings are yielding results that are a month off:
when.Parse("September 5th", time.Now()) => 2018-10-05 23:41:28.856911 -0700 PDT
when.Parse("Sept. 5th", time.Now()) => 2018-10-05 23:41:52.679274 -0700 PDT
when.Parse("Sep 5", time.Now()) => 2018-10-05 23:41:52.679274 -0700 PDT
Correct:
when.Parse("October 5th", time.Now()) => 2018-10-05 23:42:06.57631 -0700 PDT
Metadata
Assignees
Labels
No labels
Activity