diff options
| author | jem-odoo <jem@openerp.com> | 2019-06-19 13:27:47 +0000 |
|---|---|---|
| committer | jem-odoo <jem@openerp.com> | 2019-06-28 06:51:17 +0000 |
| commit | 2cbbc88dabcbe11baca2f3e30ec7425af39141e4 (patch) | |
| tree | 07c4d8cc8c5429f7810db18a665c3c5e3d5aa836 /addons/web/static/src/js | |
| parent | ef7871826edce400884fe032366781f59aafd8a6 (diff) | |
[IMP] tools: introduces format_duration
As some formatting tools already exists, it is time for float_time
conversion to have its own. Purpose is to extract formatting logic
from the float_time qweb widget to tools, in order to reuse it
in mail.template (jinja).
We named it 'format_duration', to follow babel convention. This
can bring confusion with the duration qweb widget, but this widget
should be called 'timedelta', as it is more generic than this one.
Task-2025396
closes odoo/odoo#34417
Signed-off-by: Jérome Maes (jem) <jem@openerp.com>
Diffstat (limited to 'addons/web/static/src/js')
0 files changed, 0 insertions, 0 deletions
