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

[BUG]: Last modified time for all files/folders on hard drive is shown as 1/1/1970 #69

Open
gamemaker1 opened this issue May 31, 2021 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers next-release To be added in the next release
Milestone

Comments

@gamemaker1
Copy link
Member

Describe the bug
The last modified time (shown in the output of the list command) is always 1/1/1970 for all files on the hard drive

To Reproduce
Steps to reproduce the behavior:

  1. Create a drive with the provider set to hard drive
  2. Run the list command, i.e.: ls
  3. The last modified time is 1/1/1970 for all files/folders

Expected behavior
The last modified time should be the last modified time (last time I cd'ed/renamed/moved that folder OR last time I viewed/edited/moved that file)

Screenshots
If applicable, add screenshots to help explain your problem.

Versions (please complete the following information):

  • Dabbu CLI Version: 3.2.0-beta.0 (all versions from 3.0.0 to current)
  • OS Version: Arch Linux (latest)

Additional context
Seems the CLI tries to query for an invalid/undefined value on the file object returned by the fs-extra library, and thus while formatting the date, falls back to the default date (1/1/1970)

@gamemaker1 gamemaker1 added bug Something isn't working good first issue Good for newcomers next-release To be added in the next release labels May 31, 2021
@gamemaker1 gamemaker1 added this to the v4.0.0 milestone May 31, 2021
@gamemaker1 gamemaker1 added this to To do in Issue progress via automation May 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers next-release To be added in the next release
Projects
Development

No branches or pull requests

1 participant