click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Finn Bock (JIRA)" <>
Subject [jira] Commented: (CLK-650) Load DateField translations from JDK
Date Fri, 25 Jun 2010 11:27:49 GMT


Finn Bock commented on CLK-650:

> With regards to the default date format, it is quite easy to change globally in an application files:
>  date-format-pattern=dd/MM/yyyy 

I would not do that. Of the 135 locales in my jdk1.6, only 32 uses dd/MM/yyyy. It would IMO
be better if the default pattern was taken from DateFormat.getDateInstance(MEDIUM) if date-format-pattern
is unspecified. That way the default is reasonable and it is possible to override if the locales
default is too old-fashioned or cumbersome. However, that is for another JIRA issue and patch.

> Load DateField translations from JDK
> ------------------------------------
>                 Key: CLK-650
>                 URL:
>             Project: Click
>          Issue Type: Improvement
>          Components: extras
>    Affects Versions: 2.2.0
>            Reporter: Bob Schellink
>            Assignee: Finn Bock
>            Priority: Minor
>         Attachments: datefield.patch, datefield_no_js.patch
> From CLK-624:
> Before we all go ahead and submit translations for month and day names (and abbreviations),
I think it would make more sense for DateField to generate these names from here:
> By creating the arrays from java's names we will AFAIK also instantly "support" all language
so that DateField.SUPPORTTED_LANGUAGES can be removed.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message