-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Use existing file metadata for created and modified dates #1217
Conversation
@kazup01 Could you check whether this PR works on windows? If it works, it's ok |
@sota1235 Sure. I will check it tomorrow. |
Hi @SCdF , An error occurs in the following procedure.
Attach gif and errors in the console. |
NB: this definintely works on OSX. Other operating systems may have slightly different interpretations of birthtime. See: https://nodejs.org/api/fs.html#fs_class_fs_stats
- Respects the dates that may be in input over default dates - Respects key and storage over what might be in input
93669ea
to
745d250
Compare
Nice catch! I didn't realise I've rejigged it so that it this is no longer a problem. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Merged. Thanks @SCdF ;) |
NB: this definitely works on OSX. Other operating systems may have
slightly different interpretations of (eg) birthtime.
See: https://nodejs.org/api/fs.html#fs_class_fs_stats