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

fix: last modified at field after uploading files #553

Merged
merged 1 commit into from
Dec 1, 2023

Conversation

kadeksuryam
Copy link
Contributor

@kadeksuryam kadeksuryam commented Nov 11, 2023

Resolve #540

Root Cause:
Git doesn't actually record timestamps for files. Consequently, when a repository is cloned, the timestamp becomes the current time.

Solution:
Rather than using the git clone API, I utilize the filesystem API to recursively copy one git directory to another and subsequently set the origin URI.

@kadeksuryam kadeksuryam changed the title fix: last modified at field after uploading media files fix: last modified at field after uploading files Nov 11, 2023
Copy link
Member

@fushar fushar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kadeksuryam Thanks for the contribution! The idea is solid. Left some comments.

Copy link
Member

@fushar fushar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merging. No responses but the changes are good enough :)

@fushar fushar merged commit 84cdb0e into ia-toki:master Dec 1, 2023
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

Successfully merging this pull request may close these issues.

[Bug] All files 'Last modified at' field shows 'just now' after uploading files
2 participants