From: Marco Zanon Date: Thu, 5 Apr 2012 21:41:16 +0000 (+0000) Subject: Forced default TimeZone in constructor to be the one provided by the host (instead... X-Git-Tag: SVN-to-Git~142 X-Git-Url: https://gitweb.marcozanon.com/?a=commitdiff_plain;h=964a0edcfc8ff5cf927de7a2cdf2c15a1561392a;p=Macaco Forced default TimeZone in constructor to be the one provided by the host (instead of UTC). --- diff --git a/src/java/com/marcozanon/macaco/conversion/MDateConverter.java b/src/java/com/marcozanon/macaco/conversion/MDateConverter.java index c73a7f5..de17a7b 100644 --- a/src/java/com/marcozanon/macaco/conversion/MDateConverter.java +++ b/src/java/com/marcozanon/macaco/conversion/MDateConverter.java @@ -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) {