Skip to content

fix bug in date formatting #19

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

codeinthesky
Copy link

see http://www.unicode.org/reports/tr35/tr35-31/tr35-dates.html#Date_Format_Patterns

(this bug is rumored to have brought down Twitter last December)

basically using YY instead of yy means than the last few days in December will be formatted with the wrong year (the following year) since YY looks up the 'week of year'.

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

Successfully merging this pull request may close these issues.

1 participant