public inbox for pyderasn-devel@lists.cypherpunks.ru
Atom feed
* [pyderasn-devel] [Bug] UTCTime with offset-aware datetimes fails equality check
@ 2020-04-13 13:06 Nikolay Ivanov
  2020-04-13 14:39 ` Sergey Matveev
  0 siblings, 1 reply; 2+ messages in thread
From: Nikolay Ivanov @ 2020-04-13 13:06 UTC (permalink / raw)
  To: pyderasn-devel

Pyderasn Version: 7.7

Steps to reproduce:

dt = datetime(1990, 1, 1, 0, 0, tzinfo=tzutc())

ut = UTCTime(dt)

nut = UTCTime().decod(ut.encode())

ut == nut

>>> False

GeneralizedTime also fails this check.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-04-13 14:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-13 13:06 [pyderasn-devel] [Bug] UTCTime with offset-aware datetimes fails equality check Nikolay Ivanov
2020-04-13 14:39 ` Sergey Matveev