According to RFC-5545
The property value MUST be specified in the UTC time format
(e.g. LAST-MODIFIED:20210326T212333Z)
Storing datetime.datetime.utcnow() produces localtime format (w/o 'Z').
Using datetime.datetime.now(datetime.timezone.utc) produces error:
File "/usr/local/lib/python3.9/site-packages/vobject/base.py", line 226, in transformFromNative
raise NativeError(msg, lineNumber)
vobject.base.NativeError: At line 18: In transformFromNative, unhandled exception on line 18 <class 'vobject.base.VObjectError'>: 'Unable to guess TZID for tzinfo UTC'
Maybe this is linked with another bureport #154
PS. macOS 15.7 'Catalina', vobject 0.9.6.1 from brew
According to RFC-5545
(e.g.
LAST-MODIFIED:20210326T212333Z)Storing
datetime.datetime.utcnow()produces localtime format (w/o 'Z').Using
datetime.datetime.now(datetime.timezone.utc)produces error:Maybe this is linked with another bureport #154
PS. macOS 15.7 'Catalina', vobject 0.9.6.1 from brew