~openerp-dev/openerp-web/trunk-local-today-xmo

Viewing all changes in revision 3918.

  • Committer: Xavier Morel
  • Date: 2014-01-22 13:54:26 UTC
  • Revision ID: xmo@openerp.com-20140122135426-zm80cj5wm9iebs76
[ADD] JSONify Date objects to a UTC datetime in OpenERP server format

This way, the client can send genuine local Date objects without
caring too much, the server will get them in an expected format. This
can then be used by leaving Date objects in domains, and have these
date objects end up correctly in the server without creators of
domains having to manually serialize them to UTC from a local datetime
somehow.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: