Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add_file is not keeping files' original datetime. #128

Open
meoow opened this issue Sep 8, 2024 · 1 comment
Open

add_file is not keeping files' original datetime. #128

meoow opened this issue Sep 8, 2024 · 1 comment

Comments

@meoow
Copy link

meoow commented Sep 8, 2024

add_file is not keeping files' original datetime.

I quickly checked the source code, it looks like they are all using time.time(), instead of the mtime of the added file.

@meoow
Copy link
Author

meoow commented Sep 10, 2024

Is there a workaround for this? For instance, changing the file's mtime inside ISO object after it was added by add_fp or add_file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant