diff --git a/bson/_cbsonmodule.c b/bson/_cbsonmodule.c index 733ce3de43..d1ea0d6b74 100644 --- a/bson/_cbsonmodule.c +++ b/bson/_cbsonmodule.c @@ -1775,7 +1775,7 @@ static PyObject* get_value(PyObject* self, const char* buffer, unsigned* positio Py_DECREF(args); goto invalid; } - utc_type = _get_object(state->UTC, "bson.tz_util", "UTC"); + utc_type = _get_object(state->UTC, "bson.tz_util", "utc"); if (!utc_type || PyDict_SetItemString(kwargs, "tzinfo", utc_type) == -1) { Py_DECREF(replace); Py_DECREF(args); diff --git a/doc/contributors.rst b/doc/contributors.rst index 1a3bc67674..3488fc8cdc 100644 --- a/doc/contributors.rst +++ b/doc/contributors.rst @@ -69,3 +69,4 @@ The following is a list of people who have contributed to - Yuchen Ying (yegle) - Kyle Erf (3rf) - Luke Lovett (lovett89) +- Jaroslav Semančík (girogiro)