-
Notifications
You must be signed in to change notification settings - Fork 128
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
Definition of week 1
seems to be uncommon?
#18
Comments
ypid
changed the title
Definition of week 1 seems to be uncommon?
Definition of Jun 29, 2014
week 1
seems to be uncommon?
Any thoughts on this? |
Nope. Sorry, I don't have time for this project currently. |
No problem. I just asked why you implemented it the way you did … |
ypid
added a commit
to opening-hours/opening_hours.js
that referenced
this issue
Aug 27, 2014
Not sure what the week selector was doing before this rework. I asked the author but it looked that he does not know either (at least when I asked, a couple of years after he wrote the code) … AMDmi3#18 See https://en.wikipedia.org/wiki/ISO_week_date
Would you be interested if I backport this to your version? |
ypid
added a commit
to opening-hours/opening_hours.js
that referenced
this issue
Aug 28, 2014
…MDmi3#18. Based on version: ypid@637f922
Not finished. Would you merge it or do you have another definition of |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am working on week 4-16 which results in a infinite look (also with your current master, patch will be provided once I fixed it) if a longer time range is chosen.
Was it intended that the week selector selects the range from Jan 1 till next Su (or Jan 1 if it is a Su) with
week 1
. I already asked this myself when I started looking into your implementation because it was different to the implementation by Netzwolf.The "default" seems to be another one:
The ISO 8601 definition for week 01 is the week with the year's first Thursday in it.
http://www.personal.ecu.edu/mccartyr/isowdcal.html
The text was updated successfully, but these errors were encountered: