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

Notes on Week Numbering #31

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Notes on Week Numbering #31

wants to merge 4 commits into from

Conversation

mbarkhau
Copy link

No description provided.

entries/overview.md Outdated Show resolved Hide resolved
@mbarkhau mbarkhau mentioned this pull request Aug 30, 2020
Comment on lines +82 to +85
* There are at least four common week numbering schemes: The
[ISO][iso-week] and the [US Broadcast][us-week] standards as well
as the output of `%W` and `%U` in many implementations of `strftime`
which produce numbers in the range `[0-52]`.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* There are at least four common week numbering schemes: The
[ISO][iso-week] and the [US Broadcast][us-week] standards as well
as the output of `%W` and `%U` in many implementations of `strftime`
which produce numbers in the range `[0-52]`.
* There are at least four common week numbering schemes, three of which have [strftime][strftime] codes:
* `%U` 00..53, begins Sunday
* `%V` [ISO week][iso-week] 01..53, begins Monday; pair with `%G` for year
* `%W` 00..53, begins Monday
* [US Broadcast week][us-week]

if it was published on Friday the 1st of January 2021.

[iso-week]: https://en.wikipedia.org/wiki/ISO_week_date
[us-week]: https://en.wikipedia.org/wiki/Broadcast_calendar

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
[us-week]: https://en.wikipedia.org/wiki/Broadcast_calendar
[strftime]: https://pubs.opengroup.org/onlinepubs/009696799/functions/strftime.html
[us-week]: https://en.wikipedia.org/wiki/Broadcast_calendar

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