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: Fixed showing a negative elapsed time in case of a future timestamp #11125

Merged
merged 3 commits into from Feb 1, 2023

Conversation

hishitetsu
Copy link
Member

Resolved / Related Issues
Items resolved / related issues by this PR.

Details
If the timestamp is in the future due to time synchronization or other reasons, the timestamp itself is displayed instead of the elapsed time.
Additionally, '1 seconds ago' replaces '1 second ago' and '0 seconds ago' replaces 'Now'.

Validation
How did you test these changes?

  • Built and ran the app
  • Tested the changes for accessibility

Screenshots
screenshot

Additionally, '1 seconds ago' replaces '1 second ago' and '0 seconds ago' replaces 'Now'.
Copy link
Member

@yaira2 yaira2 left a comment

Choose a reason for hiding this comment

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

LGTM

@yaira2 yaira2 merged commit 7157cee into files-community:main Feb 1, 2023
@hishitetsu hishitetsu deleted the FutureTimestamp branch February 2, 2023 00:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: Copying an existing directory creates a new directory with a negative 'Date Created' time
2 participants