Open allen-munsch opened 2 years ago
@allen-munsch, when you found this problem, do you recall what kind of tzinfo you were using?
It looks like the code checks for tzinfo sub-classes from PyICU, pytz, and tzical. Perhaps it was datetime.timezone.utc?
@da4089 i don't have access to the source code any longer, but it would have been something in the django defaults for 3.2 at the time, or, possibly pytz, perhaps something in the changelogs between 3.9/3.10.
I think it was in a custom localization function of some kind. The type it was though, i do not recall, whatever it was though definitely had a __str__/__repr__
method which returned the 'UTC' string.
I'd guess it might have been here, very likely, which aligns with your hypothesis:
vobject didn't quite work using 3.10.7