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

Re: [Subclipse-users] datetime format in team history view

From: Mark Phippard <markphip_at_gmail.com>
Date: 2006-12-13 16:53:33 CET

On 12/13/06, Noel Grandin <noel@peralex.com> wrote:
> The problem is this: the datetime format used in the history display is
> not the same format that I configure under windows in the Regional
> Settings control panel.
> I suspect that subclipse is using SimpleDateFormat(DateFormat.SHORT),
> which does not (currently) correctly check the regional settings under
> windows.
> There is a bug logged in Sun's bugtracker for this, here:
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4514389
> From the comments in the eclipse bug I logged, it appears that the CVS
> view is using ICU4J to format the datetime, which appears to do the
> right thing.

The Subclipse code appears to be this:

return DateFormat.getInstance().format(date);

Which is essentially the same as what you suspected.

Received on Wed Dec 13 16:54:16 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.