Project

General

Profile

Actions

Defect #23224

open

Datepicker doesn't obey the user's settings format

Added by Maxim Krušina over 7 years ago. Updated almost 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
UI
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

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

Related to Redmine - Defect #23414: Datepickers don't show in FirefoxNeeds feedback

Actions
Related to Redmine - Feature #23892: Switch date pickers embedded in browsers or bundled in redmineNew

Actions
Related to Redmine - Defect #35225: Edit issue shows date in MM/DD/YYYY while the rest of the application shows YYYY/MM/DDResolved

Actions
Related to Redmine - Defect #668: Date input fields don't respect date format settingsNewJean-Philippe Lang2008-02-15

Actions
Has duplicate Redmine - Defect #24575: Inconsistent date format in Date pickersClosed

Actions
Has duplicate Redmine - Defect #34772: edit in issues has wrong date format for due date/start dateClosed

Actions
Has duplicate Redmine - Defect #37757: Time entry date doesn't respect the Settings given formatClosed

Actions
Actions #1

Updated by Toshi MARUYAMA over 7 years ago

Actions #2

Updated by Toshi MARUYAMA over 7 years ago

  • Category changed from Issues to UI
Actions #3

Updated by Toshi MARUYAMA over 7 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
Actions #4

Updated by Sebastian Paluch over 7 years ago

Maybe a settings to not use browsers data picker would solve the problem?

Actions #5

Updated by Luc Luc over 7 years ago

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

Actions #6

Updated by Luc Luc over 7 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

Actions #7

Updated by Toshi MARUYAMA over 7 years ago

  • Related to Defect #23414: Datepickers don't show in Firefox added
Actions #8

Updated by Toshi MARUYAMA over 7 years ago

  • Related to Feature #23892: Switch date pickers embedded in browsers or bundled in redmine added
Actions #9

Updated by Pavel Potcheptsov over 7 years ago

Luc Luc wrote:

Yes, making native date&time pickers optional (or just not use them at all) would be great.

+1

Actions #10

Updated by Go MAEDA about 7 years ago

  • Has duplicate Defect #24575: Inconsistent date format in Date pickers added
Actions #11

Updated by Luc Luc almost 7 years ago

Version 3.3.3 is still affected by this issue.

Thanks,
Luc

Actions #12

Updated by Luc Luc over 5 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

Actions #13

Updated by Go MAEDA about 3 years ago

  • Has duplicate Defect #34772: edit in issues has wrong date format for due date/start date added
Actions #14

Updated by Luc Luc almost 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.

Actions #15

Updated by Mischa The Evil over 2 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
Actions #16

Updated by Mischa The Evil over 2 years ago

  • Related to Defect #668: Date input fields don't respect date format settings added
Actions #17

Updated by Holger Just over 1 year ago

  • Has duplicate Defect #37757: Time entry date doesn't respect the Settings given format added
Actions

Also available in: Atom PDF