maven-scm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject cvs commit: maven-scm/scm-providers/clearcase/src/main/java/org/apache/maven/scm/provider/clearcase/command/changelog ClearcaseChangeLogCommand.java
Date Fri, 28 May 2004 08:45:22 GMT
evenisse    2004/05/28 01:45:22

  Modified:    scm-providers/clearcase/src/main/java/org/apache/maven/scm/provider/clearcase/command/changelog
                        ClearcaseChangeLogCommand.java
  Log:
  Use Locale.ENGLISH as date format.
  
  Revision  Changes    Path
  1.3       +3 -2      maven-scm/scm-providers/clearcase/src/main/java/org/apache/maven/scm/provider/clearcase/command/changelog/ClearcaseChangeLogCommand.java
  
  Index: ClearcaseChangeLogCommand.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/scm-providers/clearcase/src/main/java/org/apache/maven/scm/provider/clearcase/command/changelog/ClearcaseChangeLogCommand.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ClearcaseChangeLogCommand.java	2 May 2004 22:10:57 -0000	1.2
  +++ ClearcaseChangeLogCommand.java	28 May 2004 08:45:22 -0000	1.3
  @@ -19,6 +19,7 @@
   
   import java.text.SimpleDateFormat;
   import java.util.Date;
  +import java.util.Locale;
   
   import org.apache.maven.scm.ScmException;
   import org.apache.maven.scm.command.changelog.ChangeLogCommand;
  @@ -132,7 +133,7 @@
   
           if (getStartDate() != null)
           {
  -            SimpleDateFormat sdf = new SimpleDateFormat("dd-MMM-yyyy");
  +            SimpleDateFormat sdf = new SimpleDateFormat("dd-MMM-yyyy", Locale.ENGLISH);
               String start = sdf.format(startDate);
               
               command.createArgument().setValue("-since");
  
  
  

Mime
View raw message