support date serialize