You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add Date Form field to an Admin Form with time format 'HH:mm'.
Expected result
Able to select time in 24 hour notation.
Actual result
The time is always converted to the 12 hour notation.
I have found why this is happening. In calendar.js at row 380 there are dateTimeFormat defined that are used to convert date and time format string.
In the documentation of the jquery time picker addon you can read that 'HH' stand for the 24 hour notation and 'hh' notation. The calendar widget forces you to use the 12 hour notation instead to leave it up the developer.
The text was updated successfully, but these errors were encountered:
Please notice that e6f9261 doesn't fix issue. We'll deliver proper fix under MAGETWO-52590.
The main issue that on client side there is no necessity to replace HH to hh.
Steps to reproduce
develop
branch.Expected result
Actual result
I have found why this is happening. In calendar.js at row 380 there are dateTimeFormat defined that are used to convert date and time format string.
In the documentation of the jquery time picker addon you can read that 'HH' stand for the 24 hour notation and 'hh' notation. The calendar widget forces you to use the 12 hour notation instead to leave it up the developer.
The text was updated successfully, but these errors were encountered: