Are there any plans to introduce Date/Time literals?
tno at thenewobjective.com
Tue Oct 8 16:20:32 PDT 2013
On Tue, Oct 8, 2013 at 4:43 PM, Andrew Fedoniouk
<news at terrainformatica.com>wrote:
> 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:
> eventType: "meeting",
> eventStarts: 2014-11-05T13:15:30Z,
> eventDurationHours: 4
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss