Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue formatting bottom for Year #49

Closed
paulyoung opened this issue Jul 24, 2018 · 1 comment
Closed

Issue formatting bottom for Year #49

paulyoung opened this issue Jul 24, 2018 · 1 comment

Comments

@paulyoung
Copy link
Contributor

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"
@paulyoung
Copy link
Contributor Author

Possibly related to #45

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant