Vote #71097
完了Gantt abbr of weekday should not be necessarily the first letter of the long day name
0%
説明
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