FasterXML / jackson-datatype-joda

Extension module to properly support full datatype set of Joda datetime library
Apache License 2.0
140 stars 82 forks source link

Fixed issue 49 #63

Closed ZioberMichal closed 9 years ago

ZioberMichal commented 9 years ago

Fixed issue #49

  1. Used DEFAULT_LOCAL_DATEONLY_FORMAT instead DEFAULT_DATEONLY_FORMAT in default DateMidnightSerializer constructor.
  2. Splitted createFormatter method on two where one recreates formatter using locale only and other recreates formatter using locale and time zone.
cowtowncoder commented 9 years ago

Thanks! I hope others can have a look at this as well, but I trust your fix is appropriate so can merge it.