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 #1

Updated by Etienne Massip over 12 years 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
Actions #2

Updated by 星 陈 about 12 years ago

+1

Actions #3

Updated by Jean-Philippe Lang over 11 years ago

  • Category changed from Gantt to I18n
  • Status changed from Confirmed to Closed
  • Assignee set to Jean-Philippe Lang
  • Target version changed from Candidate for next minor release to 2.1.0
  • Resolution set to Fixed

Fix committed in r10202, thanks.

Actions

Also available in: Atom PDF