You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Xavier Hanin (JIRA)" <ji...@apache.org> on 2007/03/01 21:46:50 UTC

[jira] Created: (WICKET-344) clock component doesn't display seconds in some Locales

clock component doesn't display seconds in some Locales
-------------------------------------------------------

                 Key: WICKET-344
                 URL: https://issues.apache.org/jira/browse/WICKET-344
             Project: Wicket
          Issue Type: Improvement
          Components: wicket-examples
    Affects Versions: 1.3
            Reporter: Xavier Hanin


The Clock component used in ajax Clock and WorldClock examples do not show the seconds with some locales (at least with french locale). This make the example less easy to see in action (updated only once a minute).
Replacing:
df = DateFormat.getDateTimeInstance(DateFormat.FULL, DateFormat.FULL);
by:
df = DateFormat.getDateTimeInstance(DateFormat.FULL, DateFormat.FULL, Locale.US);

would make it behave the same whatever the default locale is.

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


[jira] Resolved: (WICKET-344) clock component doesn't display seconds in some Locales

Posted by "Alastair Maw (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alastair Maw resolved WICKET-344.
---------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 1.3.0-rc1)
                   1.3.0-beta3

Fixed in r546684, by using DateFormat.LONG for the time component, which I /think/ should work for all locales (I tested several, including French).

> clock component doesn't display seconds in some Locales
> -------------------------------------------------------
>
>                 Key: WICKET-344
>                 URL: https://issues.apache.org/jira/browse/WICKET-344
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket-examples
>    Affects Versions: 1.3.0-beta1
>            Reporter: Xavier Hanin
>            Assignee: Alastair Maw
>             Fix For: 1.3.0-beta3
>
>
> The Clock component used in ajax Clock and WorldClock examples do not show the seconds with some locales (at least with french locale). This make the example less easy to see in action (updated only once a minute).
> Replacing:
> df = DateFormat.getDateTimeInstance(DateFormat.FULL, DateFormat.FULL);
> by:
> df = DateFormat.getDateTimeInstance(DateFormat.FULL, DateFormat.FULL, Locale.US);
> would make it behave the same whatever the default locale is.

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


[jira] Updated: (WICKET-344) clock component doesn't display seconds in some Locales

Posted by "Alastair Maw (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alastair Maw updated WICKET-344:
--------------------------------

    Priority: Trivial  (was: Major)

> clock component doesn't display seconds in some Locales
> -------------------------------------------------------
>
>                 Key: WICKET-344
>                 URL: https://issues.apache.org/jira/browse/WICKET-344
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket-examples
>    Affects Versions: 1.3.0-beta1
>            Reporter: Xavier Hanin
>            Assignee: Alastair Maw
>            Priority: Trivial
>             Fix For: 1.3.0-beta3
>
>
> The Clock component used in ajax Clock and WorldClock examples do not show the seconds with some locales (at least with french locale). This make the example less easy to see in action (updated only once a minute).
> Replacing:
> df = DateFormat.getDateTimeInstance(DateFormat.FULL, DateFormat.FULL);
> by:
> df = DateFormat.getDateTimeInstance(DateFormat.FULL, DateFormat.FULL, Locale.US);
> would make it behave the same whatever the default locale is.

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


[jira] Updated: (WICKET-344) clock component doesn't display seconds in some Locales

Posted by "Alastair Maw (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alastair Maw updated WICKET-344:
--------------------------------

    Fix Version/s: 1.3.0-rc1

> clock component doesn't display seconds in some Locales
> -------------------------------------------------------
>
>                 Key: WICKET-344
>                 URL: https://issues.apache.org/jira/browse/WICKET-344
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket-examples
>    Affects Versions: 1.3.0-beta1
>            Reporter: Xavier Hanin
>            Assignee: Alastair Maw
>             Fix For: 1.3.0-rc1
>
>
> The Clock component used in ajax Clock and WorldClock examples do not show the seconds with some locales (at least with french locale). This make the example less easy to see in action (updated only once a minute).
> Replacing:
> df = DateFormat.getDateTimeInstance(DateFormat.FULL, DateFormat.FULL);
> by:
> df = DateFormat.getDateTimeInstance(DateFormat.FULL, DateFormat.FULL, Locale.US);
> would make it behave the same whatever the default locale is.

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


[jira] Updated: (WICKET-344) clock component doesn't display seconds in some Locales

Posted by "Alastair Maw (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alastair Maw updated WICKET-344:
--------------------------------

    Fix Version/s:     (was: 1.3.0-beta3)
                   1.3.0-beta2

> clock component doesn't display seconds in some Locales
> -------------------------------------------------------
>
>                 Key: WICKET-344
>                 URL: https://issues.apache.org/jira/browse/WICKET-344
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket-examples
>    Affects Versions: 1.3.0-beta1
>            Reporter: Xavier Hanin
>            Assignee: Alastair Maw
>            Priority: Trivial
>             Fix For: 1.3.0-beta2
>
>
> The Clock component used in ajax Clock and WorldClock examples do not show the seconds with some locales (at least with french locale). This make the example less easy to see in action (updated only once a minute).
> Replacing:
> df = DateFormat.getDateTimeInstance(DateFormat.FULL, DateFormat.FULL);
> by:
> df = DateFormat.getDateTimeInstance(DateFormat.FULL, DateFormat.FULL, Locale.US);
> would make it behave the same whatever the default locale is.

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


[jira] Assigned: (WICKET-344) clock component doesn't display seconds in some Locales

Posted by "Alastair Maw (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alastair Maw reassigned WICKET-344:
-----------------------------------

    Assignee: Alastair Maw

> clock component doesn't display seconds in some Locales
> -------------------------------------------------------
>
>                 Key: WICKET-344
>                 URL: https://issues.apache.org/jira/browse/WICKET-344
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket-examples
>    Affects Versions: 1.3.0-beta1
>            Reporter: Xavier Hanin
>            Assignee: Alastair Maw
>             Fix For: 1.3.0-rc1
>
>
> The Clock component used in ajax Clock and WorldClock examples do not show the seconds with some locales (at least with french locale). This make the example less easy to see in action (updated only once a minute).
> Replacing:
> df = DateFormat.getDateTimeInstance(DateFormat.FULL, DateFormat.FULL);
> by:
> df = DateFormat.getDateTimeInstance(DateFormat.FULL, DateFormat.FULL, Locale.US);
> would make it behave the same whatever the default locale is.

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