summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function/analytic_user_function_view.xml
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2014-06-18 16:09:02 +0200
committerXavier Morel <xmo@openerp.com>2014-06-18 16:09:02 +0200
commit56009e8804738fb78beb69804877c65354268329 (patch)
treeed5afabf7d8391f9d4931a04743cea7ffaf18ed9 /addons/analytic_user_function/analytic_user_function_view.xml
parent3160eb74c4432fd07887a59cc8ef461af4979da2 (diff)
[FIX] website: missing timezone conversion back to UTC
In t-field, datetime fields (formatted and not formatted versions) are converted to the context/user's timezone (through fields.datetime.context_timestamp) when displayed, but were saved without converting back so the next display would go forward (or back) of the user's tzoffset. Fix that by applying context_timestamp's conversion backwards, from the context/user's timezone back to UTC, before saving the field's value.
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function_view.xml')
0 files changed, 0 insertions, 0 deletions