Defect #9839

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

Added by 何 于 5 months ago. Updated 3 months ago.

Status:Confirmed Start date:
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Gantt
Target version:Candidate for next minor release
Affected version: Resolution:

Description

In chinese, the gantt looks like

But we want

The problem cause by

<%= day_name(wday).first %>

The variants day_names and abbr_day_names setted in en.yml

and in zh.yml

so day_name(wday).first != abbr_day_name(wday)
I changed the code, it works fine, and attach last.

before.PNG (1.3 kB) 何 于, 2011-12-19 08:46

after.PNG (1.5 kB) 何 于, 2011-12-19 08:46

en.PNG (16.4 kB) 何 于, 2011-12-19 08:46

zh.PNG (18.1 kB) 何 于, 2011-12-19 08:46

abbr_day.patch (980 Bytes) Magnifier 何 于, 2011-12-19 08:46

History

#1 Updated by Etienne Massip 5 months ago

  • Tracker changed from Patch to Defect
  • Subject changed from abbr of weekday to Gantt abbr of weekday should not be necessarily the first letter of the long day name
  • Status changed from New to Confirmed
  • Target version set to Candidate for next minor release

#2 Updated by 星 陈 3 months ago

+1

Also available in: Atom PDF