You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TOML 0.4 only allowed datetimes with timezone information attached - what Python calls a "datetime aware" datetime. When you dump a "naive" timezone, with no timezone info, it looks like pytoml opts to treat that as meaning UTC.
TOML 1.0 (not out yet) adds a separate 'local datetime' type for timestamps without timezone information. toml-lang/toml#414
As @takluyver points out, this is not a bug, pytoml accepts naive datetimes only as a convenience. Adding compliance with 1.0 would be a new feature and I'm not working on those anymore. Feel free to send a PR though!
python 3.4.3, pytoml==0.1.7
The text was updated successfully, but these errors were encountered: