Fixes some time.mktime instances
Merge pull request #1135 from lukecampbell/time_fixes

Fixes some time.mktime instances