It looks to me StarTeam does not like the default format of en_US
(M/d/yy h:mm a) and decide to change to "M/d/yy h:mm:ss a z" which is
the correct approach.


-D

On 5/26/05, Trygve Laugstøl <[EMAIL PROTECTED]> wrote:
> On Wed, May 25, 2005 at 08:59:23PM -0700, dan tran wrote:
> > Folks,
> >
> > starteam history command ouput has unexpected date format
> > which the default SimpleDateTimeFormat() not able to handle it
> >
> > here is a sample output
> >
> > History for: project.xml
> > Description:
> > Locked by:
> > Status: Modified
> > ----------------------------
> > Revision: 2 View: driver Branch Revision: 1.1
> > Author: build Date: 5/25/05 4:53:18 PM PDT
> >
> >
> > If If I hardcode a SimpleDateTimeFormat according to this format, it
> > will work, but affraid it may break on other locale
> >
> > Any suggestion?
> 
> The date is really necessary information so we need to be able to read it.
> It's easy to make SimpleDateFormat not use the system locale but rather
> som other hardcoded version but it's possible that starteam is using the 
> system
> local so the format can change on evey platform.
> 
> If so we need to start gathering this information so we can map the format
> starteam is using to a Java locale.
> 
> >
> >
> > -Dan
> 
> 
> BodyID:26041251.2.n.logpart (stored separately)
> 
>

Reply via email to