Commit feae36b5 authored by Benjamin Rousselière's avatar Benjamin Rousselière
Browse files

fix/date_format_on_modification

parent 44c45331
Pipeline #6970 canceled with stages
......@@ -935,7 +935,7 @@ input:invalid {
field.data('DateTimePicker').format('YYYY-MM-DD HH:mm:ss');
field.data('DateTimePicker').date(data)
} else {
data = new Date(data).toLocaleDateString().replace(/\//g, "-");
data = new Date(data).toLocaleDateString("fr").replace(/\//g, "-");
field.datepicker('setDate', data);
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment