Skip to content

Commit e299c04

Browse files
girogirobehackett
authored andcommitted
Fixed wrong Python object name for UTC
1 parent 3227998 commit e299c04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bson/_cbsonmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1775,7 +1775,7 @@ static PyObject* get_value(PyObject* self, const char* buffer, unsigned* positio
17751775
Py_DECREF(args);
17761776
goto invalid;
17771777
}
1778-
utc_type = _get_object(state->UTC, "bson.tz_util", "UTC");
1778+
utc_type = _get_object(state->UTC, "bson.tz_util", "utc");
17791779
if (!utc_type || PyDict_SetItemString(kwargs, "tzinfo", utc_type) == -1) {
17801780
Py_DECREF(replace);
17811781
Py_DECREF(args);

0 commit comments

Comments
 (0)