4 ms·
Another example of obnoxious American attitude: the TZ variable in POSIX. TZ=UTC+8. Is your system now set to the timezone UTC+8? No, it's set to UTC-8. Why? I
by FeepingCreature 6y ago
Another example of obnoxious American attitude: the TZ variable in POSIX.
TZ=UTC+8. Is your system now set to the timezone UTC+8? No, it's set to UTC-8. Why? I don't know, but I suspect the people who developed this convention, who lived in the US, just didn't want to type a minus.
- jacobolus 6y agoThe TZ format counts how many hours behind UTC you are (how many hours should you add to get UTC time). The ISO format counts how many hours ahead of UTC you are. Neither choice is inherently correct, but the discrepancy is pretty annoying. Use https://en.wikipedia.org/wiki/Tz_database https://en.wikipedia.org/wiki/Tz_database names instead.