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

Change date format info for "W" #1

Merged
merged 1 commit into from
Oct 27, 2014
Merged

Conversation

maximethebault
Copy link
Contributor

The "W" format is the ISO-8601 week number, which can be 53.

Therefore, the range was changed to "1..53" instead of "1..52".

If you want to check this quickly, run the command:

php -r "echo date('W',  1104537600 );"

=> 53.

(1104537600 is the timestamp for 2005/01/01)

The "W" format is the ISO-8601 week number, which can be 53
King2500 added a commit that referenced this pull request Oct 27, 2014
Change date format info for "W"
@King2500 King2500 merged commit 2070bd6 into King2500:master Oct 27, 2014
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.

2 participants