Change encode_time to use UTC without timezone offset (fixes #41)