-
Notifications
You must be signed in to change notification settings - Fork 99
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
ISO weekday number (%u) #31
Comments
mbostock
changed the title
ISO weekday directive for specifier string
ISO weekday number (Monday-based, 1-7)
Jul 9, 2017
Reference: https://en.wikipedia.org/wiki/ISO_week_date |
Related #8; having ISO 8601 weekday number is not especially useful without also having support for ISO 8601 week numbers. (%U and %W are not ISO 8601 week numbers.) |
mbostock
changed the title
ISO weekday number (Monday-based, 1-7)
ISO weekday number (%u, Monday-based, 1-7)
Jul 9, 2017
For consistency with strftime this should use the |
mbostock
changed the title
ISO weekday number (%u, Monday-based, 1-7)
ISO weekday number (%u)
Jul 9, 2017
Fixed in #36. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ISO weekdays are Monday based and numbered 1-7, but d3 only provides
%w
, which is Sunday based and numbered 0-6.E.g. momentjs uses
E
for ISO weekday.The text was updated successfully, but these errors were encountered: