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

[Suggestion] Way to go off of creation date #19

Open
PurplePumkiin opened this issue Nov 29, 2021 · 2 comments
Open

[Suggestion] Way to go off of creation date #19

PurplePumkiin opened this issue Nov 29, 2021 · 2 comments

Comments

@PurplePumkiin
Copy link

I dont know if this is a feature already, but the bot uses modification date, I was wondering if it was possible to go off of creation date instead, I have a bot that downloads memes from discord servers and uploads it to mine, but the modification date is the original time, not time from download.

@tardisx
Copy link
Owner

tardisx commented Dec 5, 2021

Hi @PurplePumkiin

I've thought about this, but I'm a little wary of it, because it has some potentially surprising outcomes for users.

You mention "creation date" but that's likely to be in the past, just like modification date, for anything that gets copied in with preserved timestamps. I think you mean "exists in the directory when it did not before".

It's not impossible - I could track the files that exist in the directory on startup and only upload anything that appears afterward - would that fit your use case?

@PurplePumkiin
Copy link
Author

With the bot that I have running, once an image is downloaded, the modification date stands, however for me at least, the creation date is updated to when it was downloaded. Attached is an example
unknown
where the image was taken at 10:44 (modification), however I downloaded it at 8:06 (creation), now Im not very technical at all so I dont know if this is a normal circumstance, but this is my experience. However your suggestion of marking what is in the dir at startup would work

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

2 participants