Hacker News new | past | comments | ask | show | jobs | submit login

-00:00 is permitted by ISO 8601 but it implies that the local time is the same as UTC, it does not imply that the local time is unknown.



Is Wikipedia wrong? It claims (https://en.wikipedia.org/wiki/ISO_8601):

    An offset of zero, in addition to having the special 
    representation "Z", can also be stated numerically as 
    "+00:00", "+0000", or "+00". However, it is not 
    permitted to state it numerically with a negative sign, 
    as "−00:00", "−0000", or "−00"."
Sure would be nice if we could read the spec online:)


Ah, I read it again and there are a couple of places where ISO 8601 says to use + if the offset is 0

Thanks for the correction!


Of course. And thanks for thinking about the idea, the more eyes on it the better.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: