Index: src/test/verifiers/xpp3/expected.xml
===================================================================
--- src/test/verifiers/xpp3/expected.xml (r‚vision 607)
+++ src/test/verifiers/xpp3/expected.xml (copie de travail)
@@ -6,7 +6,7 @@
3
4.5
5.6
- Friday, 6 January 2006 12:00:00 AM EST
+ Friday January 6, 2006 12:00:00 AM CEST
Maven
Index: src/main/java/org/codehaus/modello/plugin/xpp3/Xpp3WriterGenerator.java
===================================================================
--- src/main/java/org/codehaus/modello/plugin/xpp3/Xpp3WriterGenerator.java (r‚vision 607)
+++ src/main/java/org/codehaus/modello/plugin/xpp3/Xpp3WriterGenerator.java (copie de travail)
@@ -113,6 +113,8 @@
jClass.addImport( "java.util.Iterator" );
+ jClass.addImport( "java.util.Locale" );
+
jClass.addField( new JField( new JClass( "org.codehaus.plexus.util.xml.pull.XmlSerializer" ), "serializer" ) );
jClass.addField( new JField( new JClass( "String" ), "NAMESPACE" ) );
@@ -464,7 +466,7 @@
if ( "Date".equals( type ) )
{
textValue =
- "DateFormat.getDateTimeInstance( DateFormat.FULL, DateFormat.FULL ).format( " + textValue + " )";
+ "DateFormat.getDateTimeInstance( DateFormat.FULL, DateFormat.FULL , Locale.US ).format( " + textValue + " )";
}
else if ( !"String".equals( type ) )
{
@@ -472,6 +474,7 @@
}
return textValue;
+
}
private String getValueChecker( String type, String value, ModelField field )