archive/tar: rounding timestamps to the nearest second may result in archives from the future #48275
Labels
FrozenDueToAge
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
when a tar archive, generated by
archive/tar/writer.go
, is extracted immediately,tar shows warnings that some timestamps are in the future
downstream issue: ipfs/kubo#8406
downstream workaround: ipfs/go-ipfs-files#41
probably here,
Floor
should be usedgo/src/archive/tar/writer.go
Lines 83 to 92 in b86e8dd
The text was updated successfully, but these errors were encountered: