Oops, timegm() is supposed to modify its argument.
Merge pull request #3707 from unknownbrackets/rtc

Oops, timegm() is supposed to modify its argument