Uploaded image for project: 'BrainzUtils'
  1. BrainzUtils
  2. BU-28

Caching a timezone aware datetime loses the timezone

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • Python
    • None

      If you have a timezone-aware datetime and you add it to the cache, when it gets returned it has no timezone attached to it.

      appears to be a bug in our custom msgpack serialisation here:
      https://github.com/metabrainz/brainzutils-python/blob/c8fc6058389e8c1a83f7e005d95e49c7d64e1ebb/brainzutils/cache.py#L389

            kartik1712 amCap1712
            alastairp Alastair Porter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                Version Package