made date truncate public