jazz provider: if date parsing failed with user locale try again with ENGLISH locale.

git-svn-id: https://svn.apache.org/repos/asf/maven/scm/trunk@1329801 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/maven-scm-providers/maven-scm-provider-jazz/src/main/java/org/apache/maven/scm/provider/jazz/command/changelog/JazzListChangesetConsumer.java b/maven-scm-providers/maven-scm-provider-jazz/src/main/java/org/apache/maven/scm/provider/jazz/command/changelog/JazzListChangesetConsumer.java
index 49fc458..dd099fc 100644
--- a/maven-scm-providers/maven-scm-provider-jazz/src/main/java/org/apache/maven/scm/provider/jazz/command/changelog/JazzListChangesetConsumer.java
+++ b/maven-scm-providers/maven-scm-provider-jazz/src/main/java/org/apache/maven/scm/provider/jazz/command/changelog/JazzListChangesetConsumer.java
@@ -32,6 +32,7 @@
 import java.util.Calendar;
 import java.util.Date;
 import java.util.List;
+import java.util.Locale;
 
 /**
  * Consume the output of the scm command for the "list changesets" operation.
@@ -138,10 +139,10 @@
     private static final String HEADER_CHANGES = "Changes:";
 
     private static final String JAZZ_TIMESTAMP_PATTERN = "MMM d, yyyy h:mm a";
-        // Actually: DateFormat.getDateTimeInstance( DateFormat.MEDIUM, DateFormat.SHORT );
+    // Actually: DateFormat.getDateTimeInstance( DateFormat.MEDIUM, DateFormat.SHORT );
 
     private static final String JAZZ_TIMESTAMP_PATTERN_TIME = "h:mm a";
-        // Only seen when the data = today. Only the time is displayed.
+    // Only seen when the data = today. Only the time is displayed.
 
     //  (1589)  ---$ Deb "[maven-release-plugin] prepare for next development iteration"
     //  (1585)  ---$ Deb "[maven-release-plugin] prepare release GPDB-1.0.21"
@@ -355,9 +356,12 @@
 
         if ( date != null )
         {
-            Date changesetDate = null;
-
-            changesetDate = parseDate( date.toString(), userDateFormat, JAZZ_TIMESTAMP_PATTERN );
+            Date changesetDate = parseDate( date.toString(), userDateFormat, JAZZ_TIMESTAMP_PATTERN );
+            // try again forcing en locale
+            if ( changesetDate == null )
+            {
+                changesetDate = parseDate( date.toString(), userDateFormat, JAZZ_TIMESTAMP_PATTERN, Locale.ENGLISH );
+            }
             if ( changesetDate == null )
             {
                 // changesetDate will be null when the date is not given, it only has just the time. The date is today.