Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Change ${date} format?
Change ${date} format? [message #144231] Sat, 21 February 2004 14:34 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:M7: ASTVisitor does not visit BlockComment nodes; bug?
Next Topic:Javadoc code assist automated
Goto Forum:
  


Current Time: Sat Jul 19 10:10:41 EDT 2025

Powered by FUDForum. Page generated in 0.04561 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top