Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#4085 closed bug (fixed)

Can not display year and month correctly in Japanese

Reported by: MugeSo Owned by:
Priority: major Milestone: 1.8
Component: ui.datepicker Version: 1.6rc6
Keywords: i18n Cc:
Blocked by: Blocking:

Description

Year and month in Japanese are not displayed correctly.

When changeYear and changeMonth are false, Datepicker displays them like '20092月', expected is '2009年2月'. This is ui.datepicker.js's problem.

When changeYear and changeMonth are true, Datepicker displays broken one.This is css problem. In Japanese showMonthAfterYear is true and datepicker generates "month after year" html. However in css, 'right' is set to flow property of year part, and 'left' is set to one of month part.

Attachments (1)

datepicker-i18n-fix.patch (25.7 KB) - added by MugeSo 11 years ago.
This patch fix ui.datepicker.js, i18n files, ui.datepicker.css and demo.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 11 years ago by MugeSo

My patch fixes only the former problem. The later problem should be fixed.

Changed 11 years ago by MugeSo

Attachment: datepicker-i18n-fix.patch added

This patch fix ui.datepicker.js, i18n files, ui.datepicker.css and demo.

comment:2 Changed 11 years ago by MugeSo

New patch fixes both problem. However css change was tested on only firefox 3.0.6 and IE 6.0.

comment:3 Changed 11 years ago by Jörn Zaefferer

Milestone: TBD1.6

comment:4 Changed 11 years ago by rdworth

Milestone: 1.71.8

comment:5 Changed 11 years ago by kbwood

Resolution: fixed
Status: newclosed

Fixed in r2421.

comment:6 Changed 11 years ago by kbwood

CSS changes in r2422.

Note: See TracTickets for help on using tickets.