Latte: added support for DateInterval in date helper

Is needed for TIME columns in MySQL after commit 36f3c33b257494b275f2832ac403bc3254befb2d.