[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [Subclipse-users] The date string in a the label decorator, where is the format coming from?

From: Mark Phippard <markphip_at_gmail.com>
Date: Fri, 27 Mar 2009 09:40:14 -0400

On Fri, Mar 27, 2009 at 7:04 AM, jcompagner <jcompagner_at_gmail.com> wrote:

> I just noticed that my date format strings of the label provider are in that
> silly ;) American notation (month and then day and then year)
> But that is ofcourse not really a logical format and i want day month year
> (or year month day)
>
> But where are the format strings coming from?

Look at SVNLightweightDecorator in the UI plugin. The formatting is
done with the DateFormat class which is created as such:

dateFormat = DateFormat.getInstance();

I'd assume this would get the date format from the JVM settings.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=1443784
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
Received on 2009-03-27 14:40:29 CET

This is an archived mail posted to the Subclipse Users mailing list.