Defect #20244

Upgrade from 2.6 to 3.0 (Stable) :: Is not a valid date by all Date fields

Added by Vlad Vor over 2 years ago. Updated almost 2 years ago.

Status:Needs feedbackStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Issues
Target version:-
Resolution: Affected version:3.0.3

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


Related issues

Related to Redmine - Defect #17698: Date format is incorrect Needs feedback

History

#1 Updated by Toshi MARUYAMA over 2 years ago

#2 Updated by Toshi MARUYAMA over 2 years ago

  • Status changed from New to Needs feedback

Try without plugins.

#3 Updated by Vlad Vor over 2 years ago

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";

#4 Updated by Marc M. about 2 years ago

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', "

#5 Updated by Ronny K almost 2 years ago

Same issue, datepicker displayed in bottom of page.

Deactivate plugin redmine_tweaks for my Installation and all is fine.

#6 Updated by Alexander Meindl almost 2 years ago

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).

#7 Updated by Toshi MARUYAMA almost 2 years ago

  • Status changed from Needs feedback to Closed

Thank you for your feedback.

#8 Updated by Toshi MARUYAMA almost 2 years ago

  • Status changed from Closed to New
  • Priority changed from High to Normal

#9 Updated by Toshi MARUYAMA almost 2 years ago

  • Status changed from New to Needs feedback

Also available in: Atom PDF