Project

General

Profile

Actions

Defect #9839

closed

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

Added by 何 于 over 12 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Category:
I18n
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

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.


Files

before.PNG (1.33 KB) before.PNG 何 于, 2011-12-19 08:46
after.PNG (1.53 KB) after.PNG 何 于, 2011-12-19 08:46
en.PNG (16.4 KB) en.PNG 何 于, 2011-12-19 08:46
zh.PNG (18.1 KB) zh.PNG 何 于, 2011-12-19 08:46
abbr_day.patch (980 Bytes) abbr_day.patch 何 于, 2011-12-19 08:46

Related issues

Is duplicate of Redmine - Defect #6502: Gantt chart day_name errorClosed2010-09-27

Actions
Actions

Also available in: Atom PDF