odoo/addons/web
Martin Trigaux 802d64ca92 [MERGE] [ADD] ways to correctly handle local datetimes in e.g. domains
* Alter datetime.now(), generate a local datetime (add utcnow() which generates a UTC datetime)
* Implement datetime.replace() to manipulate local datetimes
* Implement date.today(), generates a local date
* Implement datetime.toJSON(), returns a javascript Date (assumes datetime attributes are local)
* Add conversion hook in JSON and JSONP handlers, automatically converts a Date object to a UTC datetime formatted according to server formats

Should allow the generation of correctly working (from the end-user's POV) [Today] filters, amongst other things.
Eg: a local expression in a domain for 'Today 00:00:00' would now be expressed as 'datetime.datetime.now().replace(hour=0, minute=0, second=0)' (no .strftime) and will be converted to UTC when sent to the server

bzr revid: mat@openerp.com-20140128133706-4yp610pp5w06tcia
2014-01-28 14:37:06 +01:00
..
cli [FIX] test_js typo 2012-12-09 05:30:15 +01:00
controllers [IMP] search_read: use search_read from the orm instead of rewritting it 2014-01-17 13:00:47 +01:00
doc [REM] Removed useless QWeb t-escf and t-rawf 2014-01-15 19:20:18 +01:00
i18n Launchpad automatic translations update. 2014-01-22 05:40:41 +00:00
static [MERGE] [ADD] ways to correctly handle local datetimes in e.g. domains 2014-01-28 14:37:06 +01:00
tests [IMP] search_read: use search_read from the orm instead of rewritting it 2014-01-17 13:00:47 +01:00
.bowerrc [IMP] now uses bower for some libs 2013-07-31 15:17:31 +02:00
Gruntfile.js [IMP] Added compass compilation to grunt file 2013-07-31 12:20:37 +02:00
__init__.py [IMP] move http layer from openerp-web to openobject-server, convert controllers to the new route api 2013-10-27 18:17:17 +01:00
__openerp__.py [IMP] Remove unused library jquery.ui.touch-punch 2013-12-20 18:13:55 +01:00
bower.json bowered qweb 2013-07-31 15:55:31 +02:00
package.json [IMP] Added compass compilation to grunt file 2013-07-31 12:20:37 +02:00