Time related utilities and helper functions.
Advance overriden time using a datetime.timedelta.
Advance overriden time by seconds.
Remove the overridden time.
Return True if before is older than seconds.
Stringify time in ISO 8601 format
Make an rpc-safe datetime with microseconds.
Note: tzinfo is stripped, but not required for relative times.
Normalize time in arbitrary timezone to UTC
Parse time from ISO 8601 format
Turn a formatted time back into a datetime.
Override utils.utcnow to return a constant time.
Returns formatted utcnow.
Unmarshall a datetime dict.
Overridable version of utils.utcnow.
Timestamp version of our utcnow function.