I’m looking to standardise how time is represented throughout Pyblish and am looking towards RFC3339 which defines ISO 8601 like this.
2015-05-18T07:27:40.6766Z
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:
- Per publish
- Per plug-in
- Per function within plug-in
For the purposes of:
- Debugging
- Archiving
- Auditing
I’m thinking of somehow exposing this for use in plug-ins, possibly like this.
import pyblish.api.
pyblish.api.time()
# 2015-05-18T07:27:40.676600Z
Example use