Fabien (Open ERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-patest-w45 into lp:openobject-addons.
Requested reviews:
Christophe Matthieu (OpenERP) (chm-openerp)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-patest-w45/+merge/136105
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-patest-w45/+merge/136105
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-patest-w45.
=== modified file 'mail/static/src/js/mail.js'
--- mail/static/src/js/mail.js 2012-11-21 10:19:17 +0000
+++ mail/static/src/js/mail.js 2012-11-26 07:35:10 +0000
@@ -237,11 +237,9 @@
/* Convert date, timerelative and avatar in displayable data. */
format_data: function () {
-
//formating and add some fields for render
if (this._date) {
- this.date = session.web.format_value(this._date, {type:"datetime"});
- this.timerelative = $.timeago(this.date);
+ this.timerelative = $.timeago(this._date+"Z");
}
if (this.type == 'email' && (!this.author_id || !this.author_id[0])) {
this.avatar = ('/mail/static/src/img/email_icon.png');
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp