[IMP] js: time.js inner functions call improvement
[IMP] js: time.js inner functions call improvement

Some functions defined in this file use another function present in the
same file through "this" keyword even if it's not needed.
This cause problems when these function are required in another file
using object destructuring.

This commit fix this issue by calling the function only by its name.

closes odoo/odoo#45299

Signed-off-by: Sébastien Theys (seb) <62d754cc350e84d3b1c32ae79f976f5348e74a40@odoo.com>

ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo