Forced default TimeZone in constructor to be the one provided by the host (instead...
authorMarco Zanon <info@marcozanon.com>
Thu, 5 Apr 2012 21:41:16 +0000 (21:41 +0000)
committerMarco Zanon <info@marcozanon.com>
Thu, 5 Apr 2012 21:41:16 +0000 (21:41 +0000)
src/java/com/marcozanon/macaco/conversion/MDateConverter.java

index c73a7f5af3f6210432b4a09ec2d1efb02dd51db3..de17a7bdaff3124d4c60ce9a70522c7531bd4668 100644 (file)
@@ -25,7 +25,7 @@ public class MDateConverter extends MObject {
     /* */
 
     public MDateConverter(String defaultDateFormat, Locale locale) {
-        this(defaultDateFormat, locale, TimeZone.getTimeZone("UTC"));
+        this(defaultDateFormat, locale, TimeZone.getDefault());
     }
 
     public MDateConverter(String defaultDateFormat, Locale locale, TimeZone timeZone) {