Skip to content

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