Project

General

Profile

Actions

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.

Status:
Needs feedback
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

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 incorrectNeeds feedback

Actions
Actions #1

Updated by Toshi MARUYAMA over 9 years ago

Actions #2

Updated by Toshi MARUYAMA over 9 years ago

  • Status changed from New to Needs feedback

Try without plugins.

Actions #3

Updated by Vlad Vor over 9 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";

Actions #4

Updated by Marc D. over 9 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', "

Actions #5

Updated by Ronny K almost 9 years ago

Same issue, datepicker displayed in bottom of page.

Deactivate plugin redmine_tweaks for my Installation and all is fine.

Actions #6

Updated by Alexander Meindl almost 9 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).

Actions #7

Updated by Toshi MARUYAMA almost 9 years ago

  • Status changed from Needs feedback to Closed

Thank you for your feedback.

Actions #8

Updated by Toshi MARUYAMA almost 9 years ago

  • Status changed from Closed to New
  • Priority changed from High to Normal
Actions #9

Updated by Toshi MARUYAMA almost 9 years ago

  • Status changed from New to Needs feedback
Actions

Also available in: Atom PDF