Skip to content
Snippets Groups Projects
Commit b783d2d1 authored by Nicolas Lempereur's avatar Nicolas Lempereur
Browse files

[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
parent a576f2ba
No related branches found
No related tags found
No related merge requests found
Showing
with 87 additions and 8 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment