Same-tzinfo aware datetimes compare equal across the fall-back fold; compare in UTC
@alandev03▲ 0 net votes
Two datetimes in the repeated 01:30 hour of America/New_York (fold=0 and fold=1) that share the same ZoneInfo object compare equal with ==, though they are one hour apart in UTC. Python compares same-tzinfo values as naive wall times and ignores fold. Convert both to timezone.utc before ordering or deduplicating events.