Skip to content

Conversation

@nathanfhunter
Copy link
Contributor

This bug bit me when I was stress-testing some event-generation code at my job. Before fixing this bug, I was getting this result:
ghci λ: toField (fromGregorian 10000 1 1)
Plain "':000-01-01'"
After the fix, it works like this:
ghci λ: toField (fromGregorian 10000 1 1)
Plain "'10000-01-01'"

@lpsmith lpsmith merged commit 70e19cd into lpsmith:master Nov 15, 2017
@lpsmith
Copy link
Owner

lpsmith commented Nov 15, 2017

Damn. Thanks! I'll try to add a regression test, get around to dealing with a few other open issues, and get this out sometime soon-ish. (Unfortunately, I've neglected my OSS work lately.)

@nathanfhunter
Copy link
Contributor Author

No problem. Glad I could help.

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

Labels

None yet

2 participants