Re:Ruby 1.9 doesn't implement ISO 8601 properly
by eli on Sunday February 24, 2013 @12:16PM
(#5274946)
It may well be lacking in completeness, but I bet it covers over 99% of actual real-world ISO8601 dates. When was the last time you ran across a "week date"?
[ Parent
| on HN ]
Re:Ruby 1.9 doesn't implement ISO 8601 properly
by lobster_johnson on Sunday February 24, 2013 @01:37PM
(#5275297)
Very common in Europe, where businesses often operate relative to weeks; we frequently use week numbers for that reason (an abomination in my opinion). Ruby has decent but not great support for ISO week numbers.
Re:Ruby 1.9 doesn't implement ISO 8601 properly
by tommorris on Monday February 25, 2013 @07:16AM
(#5278549)
Yep, an example: I edit OpenStreetMap. The opening_hours property allows one to represent a wide range of opening hours. https://wiki.openstreetmap.org/wiki/Key:opening_hours
A lot of public parks in London are open at different times during summer and winter.
Here's an example I added personally, the churchyard of St Anne's Church in Soho. http://www.openstreetmap.org/browse/way/40879988
"week 1-13 Mo-Su 10:00-16:00; week 14-43 10:00-18:00; week 44-52 10:00-16:00"