Commit Graph
5 Commits
Author SHA1 Message Date
Lucas Perais (lpe) 7ecd750a77 [FIX] web: moment lib: update es locale
The parsing/formatting of abbreviated month name was broken.
The locale es in its version for moment 2.22.0 fixes it

OPW 1931272

closes odoo/odoo#31104
2019-02-13 13:01:04 +00:00
fwi-odoo c5af1d215f [REF] web: update momentjs lib
From 2.8.1 to 2.9.0
2017-01-30 10:29:21 +01:00
Nicolas Lempereur b783d2d1c4 [FIX] web: allow view with arabic date saving
When editing a form with the arabic language, the date is formatted in
arabic. But the version of the Moment.js library we use for this had
inconsistencies and parsing the arabic date could not work.

Hence, saving would not work since date field values would be invalid.

This commit cherry-pick http://momentjs.com/ commits which solves that:

  from version 1.8.4: https://github.com/moment/moment/commit/c9023b5
  from version 1.9.0: https://github.com/moment/moment/commit/bd328d5

closes #10634
opw-660453
2016-01-27 08:42:41 +01:00
Cedric Snauwaert 36146b3fad [FIX] web: update moment and datepicker library also add a controller to lazily load locale 2014-08-25 12:11:17 +02:00
Cedric Snauwaert 88dfd62aa5 [FIX] web: remove old datetimepicker and change by bootstrap datetimepicker 2014-08-25 12:11:17 +02:00