4 ms·
We don't have to follow locale, we could just force ISO 8601 and there won't be any ambiguity.
by lillecarl 4y ago
We don't have to follow locale, we could just force ISO 8601 and there won't be any ambiguity.
- rwmj 4y agoYeah, but this is Windows we're talking about. Even the SCHTASKS program (kind of like /usr/bin/at) takes a date which is locale sensitive, making it absolutely useless for scripting. Check out this answer to a question about how to use it: https://stackoverflow.com/a/18730884 https://stackoverflow.com/a/18730884
- lillecarl 4y agoThe language doesn't have to care about $PLATFORM, if the spec says dates in source are ISO 8601 they're ISO 8601 or they're invalid.
- yencabulator 4y agoI think the argument here is that VB is cursed because Windows is cursed; it inherited the bias toward cursedness. Of course other languages can choose to do better.