diff options
| author | David Beguin <dbe@odoo.com> | 2019-08-19 11:31:24 +0000 |
|---|---|---|
| committer | David Beguin <dbe@odoo.com> | 2019-08-20 08:02:46 +0000 |
| commit | c5500e685aeeb2a0b6dbedc2edc7be5647bf05d7 (patch) | |
| tree | 8e5c0b0eeb7462b16b0d70d07414318cedccbb9c /addons/web/static/src/js/fields | |
| parent | b4ef0299db0e1ba5073cebd99abf6720c142671d (diff) | |
[FIX] tools : use babel to format timedelta
Babel is already taking the language into account while
formating a time delta into a readable string like '2 minutes ago'.
_format_time_ago was put in translate.py file to be able to use
the _ translate class. But it can be placed in misc like other
format function already using babel.
This fix the PR #34624
and is linked to Task ID : 2028059
Task ID: 2055847
Closes PR #35806
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/fields')
0 files changed, 0 insertions, 0 deletions
