Issue formatting `bottom` for `Year`
Closed this issue · 1 comments
paulyoung commented
As mentioned in awakesecurity/purescript-precise-datetime#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
> import Data.Formatter.DateTime (FormatterCommand(..), format)
> import Data.List (fromFoldable)
> format (fromFoldable [ YearFull ]) bottom
"000-271820"