Make sure dates are being comverted properly
Dates were being converted without a timezone and so weren't being
handled as proper UTC dates and DST was not being included.
Merge pull request #1491 from markewallace/FixDateConversion

Fix date conversion