Defect #20244
open
Upgrade from 2.6 to 3.0 (Stable) :: Is not a valid date by all Date fields
Added by Vlad Vor over 9 years ago.
Updated almost 9 years ago.
Description
Hi all,
Today I upgraded from Redmine 2.6 to 3.0 and also all my plugins.
Everything seems to work except the date fields.
I get by start date and all other my custom date fields "is not a valid date".
Redmine is unusable now.
I tried to change languages in settings and browser. Nothing helps...
Environment:
Redmine version 3.0.3.stable
Ruby version 2.0.0-p481 (2014-05-08) [x86_64-linux]
Rails version 4.2.3
Environment production
Database adapter PostgreSQL
SCM:
Mercurial 3.1.2
Git 2.1.4
Filesystem
Redmine plugins:
recurring_tasks 2.0.0-pre
redmine_checklists 3.0.4
redmine_mylyn_connector 2.8.2.stable
Postgresql Server 9.3
- Status changed from New to Needs feedback
Ok, I have find out that the valid date for redmine is only the format YYYY-mm-dd (example 2015-07-05)
But JavaScript Calendar localize the Date like 07/14/2015.
An thin is not valid date for redmine.
I have to type date manualy in the format YYYY-mm-dd
So that is definitivly a bug.
PS: I did
ALTER DATABASE "redmine_db" SET datestyle="ISO,MDY";
We got the same issue, the datepicker enters the dateformat of your chosen language.
For DE: dd.mm.yy
Workaround:
Edit the jquery.ui.datepicker-de.js of your language. ( in redmine/public/javascripts/i18n)
Change dateFormat to " dateFormat: 'yy-mm-dd', "
Same issue, datepicker displayed in bottom of page.
Deactivate plugin redmine_tweaks for my Installation and all is fine.
This problem has been fixed with the latest redmine_tweaks update, see https://github.com/alexandermeindl/redmine_tweaks/issues/23. I suppose, that the problem from Vlad is another problem, which is not depending on redmine_tweaks (because redmine_tweaks didn't include the calendar macro 4 month ago).
- Status changed from Needs feedback to Closed
Thank you for your feedback.
- Status changed from Closed to New
- Priority changed from High to Normal
- Status changed from New to Needs feedback
Also available in: Atom
PDF