-
- Downloads
[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
Showing
- addons/web/static/lib/moment/locale/af.js 4 additions, 0 deletionsaddons/web/static/lib/moment/locale/af.js
- addons/web/static/lib/moment/locale/ar-sa.js 5 additions, 1 deletionaddons/web/static/lib/moment/locale/ar-sa.js
- addons/web/static/lib/moment/locale/ar.js 5 additions, 1 deletionaddons/web/static/lib/moment/locale/ar.js
- addons/web/static/lib/moment/locale/az.js 4 additions, 0 deletionsaddons/web/static/lib/moment/locale/az.js
- addons/web/static/lib/moment/locale/be.js 4 additions, 2 deletionsaddons/web/static/lib/moment/locale/be.js
- addons/web/static/lib/moment/locale/bn.js 4 additions, 0 deletionsaddons/web/static/lib/moment/locale/bn.js
- addons/web/static/lib/moment/locale/bo.js 4 additions, 0 deletionsaddons/web/static/lib/moment/locale/bo.js
- addons/web/static/lib/moment/locale/eo.js 4 additions, 0 deletionsaddons/web/static/lib/moment/locale/eo.js
- addons/web/static/lib/moment/locale/fa.js 4 additions, 0 deletionsaddons/web/static/lib/moment/locale/fa.js
- addons/web/static/lib/moment/locale/hi.js 5 additions, 0 deletionsaddons/web/static/lib/moment/locale/hi.js
- addons/web/static/lib/moment/locale/hu.js 4 additions, 0 deletionsaddons/web/static/lib/moment/locale/hu.js
- addons/web/static/lib/moment/locale/hy-am.js 4 additions, 0 deletionsaddons/web/static/lib/moment/locale/hy-am.js
- addons/web/static/lib/moment/locale/id.js 5 additions, 0 deletionsaddons/web/static/lib/moment/locale/id.js
- addons/web/static/lib/moment/locale/ja.js 4 additions, 0 deletionsaddons/web/static/lib/moment/locale/ja.js
- addons/web/static/lib/moment/locale/ko.js 4 additions, 4 deletionsaddons/web/static/lib/moment/locale/ko.js
- addons/web/static/lib/moment/locale/ml.js 4 additions, 0 deletionsaddons/web/static/lib/moment/locale/ml.js
- addons/web/static/lib/moment/locale/mr.js 5 additions, 0 deletionsaddons/web/static/lib/moment/locale/mr.js
- addons/web/static/lib/moment/locale/ms-my.js 5 additions, 0 deletionsaddons/web/static/lib/moment/locale/ms-my.js
- addons/web/static/lib/moment/locale/ne.js 5 additions, 0 deletionsaddons/web/static/lib/moment/locale/ne.js
- addons/web/static/lib/moment/locale/sq.js 4 additions, 0 deletionsaddons/web/static/lib/moment/locale/sq.js
Loading
Please register or sign in to comment