Send unix timestamps in all cases so we are never relying on timezone-dependent types
Merge pull request #427 from frymaster/timezone-fix

Use unix timestamps in queries.