Ticket #4085 (closed bug: fixed)

Opened 5 years ago

Last modified 5 years ago

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:
Blocking: Blocked by:

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

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

Change History

comment:1 Changed 5 years ago by MugeSo

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

Changed 5 years ago by MugeSo

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

comment:2 Changed 5 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 5 years ago by joern.zaefferer

  • Milestone changed from TBD to 1.6

comment:4 Changed 5 years ago by rdworth

  • Milestone changed from 1.7 to 1.8

comment:5 Changed 5 years ago by kbwood

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in r2421.

comment:6 Changed 5 years ago by kbwood

CSS changes in r2422.

Note: See TracTickets for help on using tickets.