Date input fields don't respect date format settings
|Assignee:||Jean-Philippe Lang||% Done:|
|Target version:||Candidate for next major release|
The input box next to calendar, shows always "YYYY-MM-DD" and doesn't follow the language settings.
This is very confusing at least in finnish language, because we never type it like that.
#1 Updated by Antti Perkiömäki over 9 years ago
I tried a little change in caldendar-fi.js file:
Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d"
Calendar._TT["DEF_DATE_FORMAT"] = "%d.%m.%Y"
Did not change the behaviour though :) The date format was still YYYY-MM-DD
Not really a programmer so no clue why the change didn't work. Anyways tried with several browsers so might need change to some other place to change the date format.
#2 Updated by Bastian Salmela over 9 years ago
aah.. i tried those too, and some other tricks... but best I got was calendar-widget changing the field correctly (respecting dd-mm-yyyy) when I clicked a date.. but still, everytime I am adding new issue, or editing old one, the date in field gets defaulted in wrong order.
I dont know ruby, so after hour of going through sources I just gave up :)