Defect #23224
openDatepicker doesn't obey the user's settings format
Added by Maxim Krušina over 8 years ago. Updated over 3 years ago.
0%
Description
I would like to use date format: yyyy-mm-dd (so I have this time format in my settings), but redmine is displaying probably the browser's default langaue date format - see screenshots.
Files
date2.png (26.7 KB) date2.png | Maxim Krušina, 2016-07-01 16:19 | ||
date1.png (77.9 KB) date1.png | Maxim Krušina, 2016-07-01 16:19 | ||
01-redmine-settings.png (7.86 KB) 01-redmine-settings.png | redmine settings | Luc Luc, 2016-08-23 17:57 | |
02-date-picker.png (2.06 KB) 02-date-picker.png | native date picker in chromium | Luc Luc, 2016-08-23 17:57 | |
03-date-picker-expanded.png (15.3 KB) 03-date-picker-expanded.png | expanded native date picker in chromium | Luc Luc, 2016-08-23 17:58 | |
04-date-value.png (1.88 KB) 04-date-value.png | date value displayed correctly as per redmine settings | Luc Luc, 2016-08-23 17:58 | |
revert-native-date-pickers.patch (9.44 KB) revert-native-date-pickers.patch | revert native date pickers patch | Luc Luc, 2016-08-23 18:41 |
Related issues
Updated by Toshi MARUYAMA over 8 years ago
- Subject changed from Time selector doesn't obey the user's settings format to Datepicker doesn't obey the user's settings format
Updated by Sebastian Paluch over 8 years ago
Maybe a settings to not use browsers data picker would solve the problem?
Updated by Luc Luc over 8 years ago
- File 01-redmine-settings.png 01-redmine-settings.png added
- File 02-date-picker.png 02-date-picker.png added
- File 03-date-picker-expanded.png 03-date-picker-expanded.png added
- File 04-date-value.png 04-date-value.png added
Yes, making native date&time pickers optional (or just not use them at all) would be great.
There is absolutely no way for me to get ISO8601 date format (YYYY-MM-DD) with Chrome's/Chromium's native date&time pickers.
Also, with native ones, there are inconsistencies between the settings, displayed date values and date&time pickers (see attachments).
Thanks,
Luc
Updated by Luc Luc over 8 years ago
Maxim Krušina, as a temporary solution I ended up reverting c418fab8a76b7672c4f341fb7c3e203ae92b50c0
- Use HTML5 date input fields instead of text fields with jquery ui date pickers (#19468) and everything is back to normal for me.
Thanks,
Luc
Updated by Toshi MARUYAMA about 8 years ago
- Related to Defect #23414: Datepickers don't show in Firefox added
Updated by Toshi MARUYAMA about 8 years ago
- Related to Feature #23892: Switch date pickers embedded in browsers or bundled in redmine added
Updated by Pavel Potcheptsov about 8 years ago
Luc Luc wrote:
Yes, making native date&time pickers optional (or just not use them at all) would be great.
+1
Updated by Go MAEDA about 8 years ago
- Has duplicate Defect #24575: Inconsistent date format in Date pickers added
Updated by Luc Luc over 7 years ago
Version 3.3.3 is still affected by this issue.
Thanks,
Luc
Updated by Luc Luc about 6 years ago
Same problem on 3.4.6 (two years later); basically after each Redmine update we have to touch the code and disable native date pickers.
Patch #19468 is so unfortunate, it makes all date related fields inconsistent and confusing.
I see there are not many people complaining about this issue - is it some simple workaround for it? Any suggestions would be more than welcome.
Thanks,
Luc
Updated by Go MAEDA almost 4 years ago
- Has duplicate Defect #34772: edit in issues has wrong date format for due date/start date added
Updated by Luc Luc over 3 years ago
The patch proposed in #31300 solves the problem (applied to version 4.2).
Finally consistent ISO date format again without constantly reverting old patches.
Thank you.
Updated by Mischa The Evil over 3 years ago
- Related to Defect #35225: Edit issue shows date in MM/DD/YYYY while the rest of the application shows YYYY/MM/DD added
Updated by Mischa The Evil over 3 years ago
- Related to Defect #668: Date input fields don't respect date format settings added
Updated by Holger Just about 2 years ago
- Has duplicate Defect #37757: Time entry date doesn't respect the Settings given format added
Updated by Holger Just 8 months ago
- Has duplicate Defect #40570: Date Format is taken from OS settings ignoring redmine admin configuration added