mirror of
https://github.com/zebrajr/ArchiveBox.git
synced 2025-12-06 12:20:54 +01:00
Some older version of ArchiveBox stored unix timestamp as string in the index instead of float. This created problem for me during migration while running `archivebox init` on an archive created with a previous revision of ArchiveBox. The archive that I have is in otherwise good condition (not malformed or garbaled). While we don't retain the old behavior, I think it is sane to at least retain backward compatibility here while migrating. Unfortunately, I don't have the exact revision that I used to create the old archive - so I cannot be sure how I ended up with unix timestamp as string in my index. Additionally, convert unix timestamp into datetime. I think it's a bug that we coerce float / int (presumably unix timestamp) into string. These need to be converted to datetime. |
||
|---|---|---|
| .. | ||
| cli | ||
| config | ||
| core | ||
| extractors | ||
| index | ||
| parsers | ||
| themes | ||
| __init__.py | ||
| __main__.py | ||
| .flake8 | ||
| main.py | ||
| manage.py | ||
| mypy.ini | ||
| system.py | ||
| util.py | ||
| VERSION | ||