Option number two, store them as ISODate.
Option number two, store them as ISODate.
implicit val myDateHandler = CommonFormats.LocalDateAsDateHandler
Option number one, store them as strings.
Option number one, store them as strings. Ex: "2015-12-19"
implicit val myDateHandler = CommonFormats.LocalDateAsStringHandler
Handles storage of a LocalDateTime instance.
Handles storage of a LocalDateTime instance. Should represent the UTC time.