We are running ubuntu 7.04 x86_64, Sun JDK 1.5.0_11-b03
I am not sure what the JVM will select, user.country=ZA in /systemInfo
Do you know of a way to influence the use of 24h over AM/PM by specifying
some system property to the JVM?
-----Original Message-----
From: Kohsuke Kawaguchi [mailto:
[hidden email]]
Sent: 24 August 2007 18:08
To:
[hidden email]
Subject: Re: Date format
Corneil du Plessis wrote:
> Our hudson installation displays the time in a quasi 12hour format
> instead of 24h format. 2007/08/23 06:41:58 when it should be
> 2007/08/23 18:41:58
>
> How do I change the configuration of the date/time format?
Currently the formatting of the date is locale sensitive. So on my
deployment it renders:
Aug 23, 2007 1:53:23 AM
More precisely it's using DateFormat.getDateTimeInstance(MEDIUM,MEDIUM).
What is your default system locale?
I'm torn on this. I think people will find localized representations easier
to understand. But to fix issues like this, I'd have to make it uniform.
--
Kohsuke Kawaguchi
Sun Microsystems
[hidden email]
---------------------------------------------------------------------
To unsubscribe, e-mail:
[hidden email]
For additional commands, e-mail:
[hidden email]