Docstring fixes
Use ISO8601 format for timestamps
Use UTC time when setting times on state change