Calendar flips Date and Month around #986
Labels
lang/javascript
Anything involving JavaScript
type/bug
Any issue which is a bug or PR which fixes a bug
Milestone
Bug Report
For reasons unknown our web app, which is using Fomantic UI, keeps flipping the month and date around when the input value is set to format 'j.n.Y H:i' and calendar formatter to day.month..year.
This only happens on Chromium browsers, Chrome, Opera... Not certain if it is locale specific (I am using Finnish)
For clarification, I am using PHP date() function format. j = day, n = month, Y = year if someone does not understand.
Steps to reproduce
j.n.Y H:i
The calendar is formatted as such:
The input field (Laravel blade view) is printed as so:
Expected result
Input (UI) field should contain the time format as j.n.Y H:i
Actual result
Input shows date in format n.j.Y H:i
Testcase
https://jsfiddle.net/eow4Lqg5/
Open with Google Chrome or Opera. Date is set to 1st of September 2019 12:00 (01.09.2019)
Screenshot (when possible)
Input (UI) field:
![image](https://user-images.githubusercontent.com/3592446/64079713-58c5fb80-ccf3-11e9-89b1-95f5224f8310.png)
Dev-tools reported 'value':
![image](https://user-images.githubusercontent.com/3592446/64079720-65e2ea80-ccf3-11e9-9441-620bfe90680c.png)
Version
2.7.6
The text was updated successfully, but these errors were encountered: