Details
-
Improvement
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
1.3.0-beta1
-
None
Description
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.