Ruby 1.9 doesn't implement ISO 8601 properly
tommorris.org
Ruby 1.9 doesn't implement ISO 8601 properly
1–10 of 50 posts
Re: Ruby 1.9 doesn't implement ISO 8601 properly
#2Re: Ruby 1.9 doesn't implement ISO 8601 properly
#3I think it would make the point much clearer if the author of that article would actually explain a use case for this (apparently incorrectly handled) syntax which I have never ever come in contact with :).
Re: Ruby 1.9 doesn't implement ISO 8601 properly
#4I think it would make the point much clearer if the author of that article would actually explain a use case for this (apparently incorrectly handled) syntax which I have never ever come in contact with :).
Re: Ruby 1.9 doesn't implement ISO 8601 properly
#5I think it would make the point much clearer if the author of that article would actually explain a use case for this (apparently incorrectly handled) syntax which I have never ever come in contact with :).
2) Just because you didn't come in contact with ordinal dates doesn't mean others don't need it.
3) The article has a link to https://en.wikipedia.org/wiki/Ordinal_date. The wiki page doesn't have any specific use cases but just use your imagination.
Re: Ruby 1.9 doesn't implement ISO 8601 properly
#6I think it would make the point much clearer if the author of that article would actually explain a use case for this (apparently incorrectly handled) syntax which I have never ever come in contact with :).
Well the point is that they shouldn't call the method iso8601 if it doesn't implement the whole iso8601 standard
It's not perfect, but no implementation will ever be imho.
Re: Ruby 1.9 doesn't implement ISO 8601 properly
#7I think it would make the point much clearer if the author of that article would actually explain a use case for this (apparently incorrectly handled) syntax which I have never ever come in contact with :).
1) It's in the standard. If you call a function iso8601 you better follow that standard. Or document where the function deviates from it. 2) Just because you didn't come in contact with ordinal dates doesn't mean others don't need it. 3) The article has a link to https://en.wikipedia.org/wiki/Ordinal_date . The wiki page doesn't have any specific use cases but just use your imagination.
Re: Ruby 1.9 doesn't implement ISO 8601 properly
#8Tom Morris is right, they all suck when it comes to ISO-8601 support.
Re: Ruby 1.9 doesn't implement ISO 8601 properly
#9I don't know the standard, but either Wikipedia is wrong or the Date implementation is sorely lacking.
Re: Ruby 1.9 doesn't implement ISO 8601 properly
#10http://tools.ietf.org/html/rfc3339
Basically, RFC3339 is ISO8601 cut down to the most straightforward implementation (YYYY-MM-DDTHH:MM:SS), without the "Ordinal Date" variant that is at issue here.