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

s3.listing.metadata.enable=true shows wrong timestamp (rclone) #14639

Closed
dirkpetersen opened this issue May 9, 2023 · 1 comment · Fixed by #14641 or #14742
Closed

s3.listing.metadata.enable=true shows wrong timestamp (rclone) #14639

dirkpetersen opened this issue May 9, 2023 · 1 comment · Fixed by #14641 or #14742
Assignees
Labels
bug s3 AWS S3 Protocol Implementation
Milestone

Comments

@dirkpetersen
Copy link

dirkpetersen commented May 9, 2023

Describe the bug

We are using rclone for archiving of large amounts of data and have users browse the archive either with a cli tool or with Cyberduck. We use that special profile called s3 (timestamps) that is supposed to show posix mtime metadata instead of the S3 object creation time using s3.listing.metadata.enable=true . If you are archiving a file that is 5 years old, the object creation time is less relevant and users want to see when the file was last modified (in fact many users do not understand the object time at all)

Unfortunately, there seems to be an issue with the correct display of mtime metadata. When I check https://www.unixtimestamp.com/ for that number in mtime I get April 20th 2023 which is correct but Cyberduck with S3 (timestamps) profile shows a time in 1970
image

The timestamps were created with Rclone but that is perhaps less relevant since Unix time is clearly defined as seconds since 1/1/1970 and it may be a float if you want to include milli or nanoseconds.

Also, it would be lovely if the timestamp listing could be a simple option in the S3 preferences instead of having to go the detour through the profile settings (I realize there is an additional head request for each object required but the slower performance is not issue for us)

Desktop (please complete the following information):

  • OS: Windows 11
  • Version [e.g. 8.5.9]
@dkocher dkocher added the s3 AWS S3 Protocol Implementation label May 9, 2023
@dkocher
Copy link
Contributor

dkocher commented May 9, 2023

Seems related to #12988.

@dkocher dkocher added this to the 8.6.0 milestone May 9, 2023
@dkocher dkocher added the bug label May 9, 2023
@dkocher dkocher self-assigned this May 9, 2023
dkocher added a commit that referenced this issue May 9, 2023
@dkocher dkocher linked a pull request May 9, 2023 that will close this issue
@dkocher dkocher linked a pull request Jun 1, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug s3 AWS S3 Protocol Implementation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants