private def formatsWithDate(customDateFormat : SimpleDateFormat): Formats = {
new DefaultFormats {
override val dateFormatter = customDateFormat
}
}
By this way you can set your own date format
Caution: for version earlier than 3.2.9, json4s will use UTC timezone, regardless of what timezone you set in the dateformat