Add typmod support for timestamp truncation.