Change ${date} format? [message #144231] |
Sat, 21 February 2004 14:34  |
Eclipse User |
|
|
|
Originally posted by: schmidt.2004.gmx.de
Hi,
I want to change the date format in ${date}. Because I have a German
system, Eclipse creates a comment like this:
Created on 21.02.2004
in each new Java file. That means February 21, 2004, in the German date
format. How can I set ${date} so that it contains the U.S. format?
Created on 02/21/2004
Thanks,
Andi
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
|
|
|
Re: Change ${date} format? [message #144521 is a reply to message #144231] |
Mon, 23 February 2004 03:42  |
Eclipse User |
|
|
|
Andreas Schmidt wrote:
> Hi,
>
> I want to change the date format in ${date}. Because I have a German
> system, Eclipse creates a comment like this:
>
> Created on 21.02.2004
>
> in each new Java file. That means February 21, 2004, in the German date
> format. How can I set ${date} so that it contains the U.S. format?
I believe the date is formatted using your locale settings by the
default java date formatter. You could proably define your locale on the
VM command line.
-tom
|
|
|
Powered by
FUDForum. Page generated in 0.04561 seconds