プロジェクト

全般

プロフィール

Vote #71097

完了

Gantt abbr of weekday should not be necessarily the first letter of the long day name

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

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

0%

予定工数:
category_id:
37
version_id:
47
issue_org_id:
9839
author_id:
46454
assigned_to_id:
1
comments:
3
status_id:
5
tracker_id:
1
plus1:
1
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

In chinese, the gantt looks like
!before.PNG!
But we want
!after.PNG!
The problem cause by

<%= day_name(wday).first %>

The variants day_names and abbr_day_names setted in en.yml
!en.PNG!
and in zh.yml
!zh.PNG!
so day_name(wday).first != abbr_day_name(wday)
I changed the code, it works fine, and attach last.
!abbr_day.patch!


journals

--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
Fix committed in r10202, thanks.
--------------------------------------------------------------------------------


related_issues

duplicates,Closed,6502,Gantt chart day_name error

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

  • カテゴリI18n_37 にセット
  • 対象バージョン2.1.0_47 にセット

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

いいね!0
いいね!0