Skip to content
Snippets Groups Projects

Encode datetime as Timestamp in msgpack

decoding custom format is still supported for backward compat. Note that revision modify the exception type raised when attempting to encode a naive datetime object for both formats (json amd msgpack): it now raises a TypeError instead of a ValueError.

The ENCODERS/DECODERS constants have also been split to make clear which codecs are specific to the json format.


Migrated from D4690 (view on Phabricator)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading