Steps to replicate the issue (include links if applicable):
ts1 = pywikibot.Timestamp(
year=2022, month=12, day=21, hour=13,
tzinfo=datetime.timezone(datetime.timedelta(hours=-5)))
ts2 = pywikibot.Timestamp(
year=2022, month=12, day=21, hour=17,
tzinfo=datetime.timezone.utc)
ts1.timestamp() > ts2.timestamp() # True
t1 = pywikibot.WbTime.fromTimestamp(ts1, timezone=-300)
t2 = pywikibot.WbTime.fromTimestamp(ts2, timezone=0)
t1 > t2 # False?What happens?: Timestamps that should be greater than are not.
What should have happened instead?: They should be greater than.
Software version (skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.): When I made the comparison operators, I accidentally applied the timezone shift backwards.