3 ms·
I was going to argue with you, that there are plenty of useful types. Temporal types are just one of them and requiring a dedicated syntax might be overkill. Bu
by vbezhenar 7y ago
I was going to argue with you, that there are plenty of useful types. Temporal types are just one of them and requiring a dedicated syntax might be overkill. But now I thought more about it and honestly temporals are the most frequently used data type for interaction between systems outside of basic ones. So actually it would make a lot of sense. It could be just ISO-8601 literal. Something like `{"date": 2019-12-15, "timestamp": 2019-12-15T23:49:55.123456, "time": 19:57, "timestampwithtz": 2019-12-15T23:49:55.123456-06:00}`. It starts like a number but follows a dash or twocolon which indicates that it's not a number, but a temporal value. Should not be a problem to parse.