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.
Mark
Received on Wed Dec 13 16:54:16 2006