2 ms·
Eventually, we'll have an even better way of representing date-times that are more like bitmasks. We can then represent in a sane way the concept of opening hou
by rmc 14y ago
Eventually, we'll have an even better way of representing date-times that are more like bitmasks. We can then represent in a sane way the concept of opening hours. If you say the shop is open from 9am to 4:30pm Monday to Saturday, how do you do that?
For the record, the Open Street Map project has come up with a human readable way to encode opening hours. http://wiki.openstreetmap.org/wiki/Key:opening_hours http://wiki.openstreetmap.org/wiki/Key:opening_hours
- tommorris 14y agoYup, and they've properly specced it out and everything. I frequently advocate people nick this and reuse or build on it.