|
|
|
|
|
by mgh95
319 days ago
|
|
> What language actually allows a type definition for "ISO-8601 timestamp" that's complete? It is absolutely possible to do this, and to generate client code which complies with ISO-8601 in JS/TS. Large amounts of financial services would not work if this was not the case. See the c# support for ISO-8601 strings: https://learn.microsoft.com/en-us/dotnet/standard/base-types... |
|
`DateTime` is not an ISO-8601 type. It can _parse_ an ISO-8601 formatted string.
And even past that, there are Windows-specific idiosyncrasies with how the `DateTime` class implements the parsing of these strings and how it stores the resulting value.