Timezone related utilities for BSON cannot be pickled / copied

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Trivial - P5
    • 2.1.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Someone posted on the MongoEngine forum that using tzinfo with a datetime meant they couldn't do a Q() query. On inspection I noticed it was because the bson.tz_util.FixedOffset instances can't be copied.

            Assignee:
            Ross Lawley
            Reporter:
            Ross Lawley
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: