Re: Strange interpretation of invalid ISO date strings

2015-09-07 Thread Walter Underwood
Yes, ISO 8601 gets pretty baroque in the far nooks and crannies of the spec. I use the “web profile” of ISO 8601, which is very simple. I’ve never seen any software mishandle dates using this subset of the spec. http://www.w3.org/TR/NOTE-datetime wunder Walter Underwood wun...@wunderwood.org ht

Re: Strange interpretation of invalid ISO date strings

2015-09-07 Thread Toke Eskildsen
On Sun, 2015-09-06 at 11:05 -0600, Shawn Heisey wrote: > "querystring": "post_date:[2015-09-0124T00:00:00Z TO > 2015-09-0224T00:00:00Z]", > "parsedquery": "post_date:[145169280 TO 146033280]", > > The "24" is from part of our code that interprets the hour, it was being > incorrectly added.

Re: Strange interpretation of invalid ISO date strings

2015-09-06 Thread Paul Libbrecht
Just a word of warning: iso-8601, the date format standard, is quite big, to say the least, and I thus expect very few implementations to be complete.  I survived one such interoperability issue with Safari on iOS6. While they (and JS I think) claim iso-8601, it was not complete and fine grained