Are there any plans to introduce Date/Time literals?
news at terrainformatica.com
Tue Oct 8 14:43:30 PDT 2013
Quite often Date values are used in data exchanges in form of JS
literals or JSON.
It would be beneficial if JS (and JSON as derivative) will have an
ability to represent dates literally . For example:
Technically we can allow date/time format using ISO 8601 as it is.
That will require some additional look-ahead in tokenizer but is
doable as far as I can tell.
There are other options of course. Just wanted to know if this makes
sense in principle.
More information about the es-discuss