fixing spec
support date fields
using localtime when displaying dates