Change encode_time to use UTC without timezone offset