Timestamp standard

I’m looking to standardise how time is represented throughout Pyblish and am looking towards RFC3339 which defines ISO 8601 like this.


Where T can be thought of as a space-character, and Z denotes that it is relative UTC, which is 1 hour behind of GMT.

It will be used for visualising time taken:

  1. Per publish
  2. Per plug-in
  3. Per function within plug-in

For the purposes of:

  1. Debugging
  2. Archiving
  3. Auditing

I’m thinking of somehow exposing this for use in plug-ins, possibly like this.

import pyblish.api.
# 2015-05-18T07:27:40.676600Z

Example use