Skip to content

Get ZipFileSystem to prefer NTFS timestamps when present#1449

Merged
swankjesse merged 2 commits intomasterfrom
jwilson.0303.ntfs
Mar 4, 2024
Merged

Get ZipFileSystem to prefer NTFS timestamps when present#1449
swankjesse merged 2 commits intomasterfrom
jwilson.0303.ntfs

Conversation

@swankjesse
Copy link
Copy Markdown
Collaborator

They don't have a time bomb in 2038.

They don't have a time bomb in 2038.
@swankjesse swankjesse requested a review from JakeWharton March 3, 2024 20:27
val zipFileSystem = fileSystem.openZip(base / "time-winzip.zip")
val fileMetadata = zipFileSystem.metadata("test.txt".toPath())
assertEquals(
Instant.parse("2017-11-01T04:11:57.244Z"),
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Shouldn't this have an import?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Yes, it absolutely should. Why the heck does it compile?

But why didn't the compiler get mad at me?
@swankjesse swankjesse enabled auto-merge (squash) March 4, 2024 16:29
@swankjesse swankjesse merged commit 940496a into master Mar 4, 2024
@swankjesse swankjesse deleted the jwilson.0303.ntfs branch March 4, 2024 17:13
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.

2 participants