プロジェクト

全般

プロフィール

Vote #76520

未完了

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

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
Needs feedback
優先度:
通常
担当者:
-
カテゴリ:
Issues_2
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
2
version_id:
0
issue_org_id:
20244
author_id:
77755
assigned_to_id:
0
comments:
9
status_id:
10
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
96
ステータス-->[Needs feedback]

説明

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


journals

--------------------------------------------------------------------------------
Try without plugins.
--------------------------------------------------------------------------------
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).
--------------------------------------------------------------------------------
Thank you for your feedback.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------


related_issues

relates,Needs feedback,17698,Date format is incorrect

Admin Redmine さんが約4年前に更新

  • カテゴリIssues_2 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0