Avoid explicit casts on date/time columns.
Merge branch 'master' of https://github.com/mapserver/mapserver