add fallback for timestamp in date type