Closed paulyoung closed 5 years ago
As mentioned in https://github.com/awakesecurity/purescript-precise-datetime/issues/32, I think this is probably because bottom for Year is negative: https://github.com/purescript/purescript-datetime/blob/ffdd94fa0c4ac5d89107b0437aece0556970dcef/src/Data/Date/Component.purs#L28
bottom
Year
> import Data.Formatter.DateTime (FormatterCommand(..), format) > import Data.List (fromFoldable) > format (fromFoldable [ YearFull ]) bottom "000-271820"
Possibly related to https://github.com/slamdata/purescript-formatters/issues/45
As mentioned in https://github.com/awakesecurity/purescript-precise-datetime/issues/32, I think this is probably because
bottom
forYear
is negative: https://github.com/purescript/purescript-datetime/blob/ffdd94fa0c4ac5d89107b0437aece0556970dcef/src/Data/Date/Component.purs#L28