summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/framework/session_instance.js
diff options
context:
space:
mode:
authorGéry Debongnie <ged@odoo.com>2015-11-26 10:48:29 +0100
committerGéry Debongnie <ged@odoo.com>2015-11-26 14:27:11 +0100
commit7137891a8a5d024a7f36a5af1d3a3c2686a9a96a (patch)
tree4ac17ad2c8cdaee63a92ba3dc73b44cc422ab483 /addons/web/static/src/js/framework/session_instance.js
parentbef0da3a7aff74fecce7b418164257ad0cd37c4d (diff)
[FIX] mail, im_livechat: correctly displayed message date
Messages are required to be displayed in a smarter way: relative to the current date, if it's a recent message, or absolute if not. This commits rework most of the date processing code to comply with these requirements. Messages were preprocessed each time a thread is rendered, which is stupid. It should be preprocessed only when the message is created. This was a small problem because livechat does not use the chat manager, so a simplified version of the preprocessing had to be done.
Diffstat (limited to 'addons/web/static/src/js/framework/session_instance.js')
0 files changed, 0 insertions, 0 deletions