"""
-__version__ = "1.4.0"
+__version__ = "1.4.1"
__author__ = "Oleg Broytman <phd@phdru.name>"
__copyright__ = "Copyright (C) 2010-2025 PhiloSoft Design"
__license__ = "GPL"
Y, m, d, H, M = localtime(float(dt))[0:5]
except ValueError:
return datetime.max.ctime()
- else:
- return "%02d-%02d-%d %02d:%02d" % (m, d, Y, H, M)
+ if Y > 9999:
+ Y = 9999
+ return "%02d-%02d-%d %02d:%02d" % (m, d, Y, H, M)
def decode_announce_list(announce):
WHAT'S NEW
+Version 1.4.1 (2025-01-11)
+
+ Fix a problem with torrents that set creation_date too far in the future:
+ limit the year to 9999.
+
Version 1.4.0 (2025-01-11)
Include eff_bdecode.py into the code.
+Version 1.4.1 (2025-01-11)
+
+ Fix a problem with torrents that set creation_date too far in the future:
+ limit the year to 9999.
+
Version 1.4.0 (2025-01-11)
Include eff_bdecode.py into the code.