Hi,

Creating a client/server scanning application that uses JSON to exchange
data.

Noticed there's no support for dates in the JSON specs; apparently
various approaches are used (Unix epoch/ISO 8601 date strings/something
Microsoft did).

Noticed that Firefox gives this:
new Date().toJSON();
/*
2013-02-21T09:47:42.467Z
*/
which looks like an ISO date to me.

Currently FPC JSON gives a huge number for current date/time, presumably
just the representation of TDateTime.

Is this ISO 8601 format currently the most widely used? It seems the
most sane to me.

Thanks,
Reinier
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to