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

Wrong date format string specified, must use yyyy not YYYY #28

Merged
merged 1 commit into from
Aug 13, 2015

Conversation

bixbarton
Copy link

Explanation...
YYYY means year of week
yyyy means ordinary calendar year

Case in point: 2016/01/01 using YYYY
US region considers this week to be in 2016
UK region considers this week to be in 2015
As a result the calendar would display January 2015 incorrectly
The reason is straddling days. Some regions say that there must be a minimum number of days straddling a week in the new year to be considered the first week of that new year

Explanation...
YYYY means year of week
yyyy means ordinary calendar year

Case in point: 2016/01/01 using YYYY
US region considers this week to be in 2016
UK region considers this week to be in 2015
As a result the calendar would display January 2015 incorrectly
The reason is straddling days. Some regions say that there must be a minimum number of days straddling a week in the new year to be considered the first week of that new year
rapuckett added a commit that referenced this pull request Aug 13, 2015
Wrong date format string specified, must use yyyy not YYYY
@rapuckett rapuckett merged commit e1c6cbc into concurlabs:master Aug 13, 2015
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.

None yet

2 participants