Date.toIsoString returning unexpected negative result
mordrax opened this issue · comments
Joseph Ni commented
in repl:
> Date.fromCalendarDate 0 Date.Jan 1
RD -364 : Date.Date
> Date.fromCalendarDate 0 Date.Jan 1 |> Date.toIsoString
"0001-01--364" : String
-- it should be as per the input day
"0001-01-1" : String
John Weir commented
Which Date package are you using? And does this have any bearing on this ISO8601 package?
Joseph Ni commented
🤦♂️ ... I'm sorry... wrong repo!
I meant this for justinmimbs/date: justinmimbs/date#6