Modified time for object in zip archive #86

Closed
opened 2025-12-28 17:36:05 +00:00 by sami · 4 comments
Owner

Originally created by @KirillovDenis on GitHub (Nov 3, 2022).

Originally assigned to: @alexvanin on GitHub.

Should we use time from Timestamp attribute?
nspcc-dev/neofs-http-gw@131f2dbcfc/downloader/download.go (L393-L397)

If so what we should do if such an attribute is missing or invalid?
I think we can continue to use time.Now() for more consistency.

Originally created by @KirillovDenis on GitHub (Nov 3, 2022). Originally assigned to: @alexvanin on GitHub. Should we use time from `Timestamp` attribute? https://github.com/nspcc-dev/neofs-http-gw/blob/131f2dbcfc1d247ce2430c3cdb6eee84eca1d0bf/downloader/download.go#L393-L397 If so what we should do if such an attribute is missing or invalid? I think we can continue to use `time.Now()` for more consistency.
sami 2025-12-28 17:36:05 +00:00
  • closed this issue
  • added the
    U3
    label
Author
Owner

@alexvanin commented on GitHub (Nov 3, 2022):

Let's find out what users may expect from ctime in zip archive.

@alexvanin commented on GitHub (Nov 3, 2022): Let's find out what users may expect from ctime in zip archive.
Author
Owner

@alexvanin commented on GitHub (Nov 23, 2022):

We should document current behaviour and reopen this issue after additional requirements.

@alexvanin commented on GitHub (Nov 23, 2022): We should document current behaviour and reopen this issue after additional requirements.
Author
Owner

@KirillovDenis commented on GitHub (Nov 23, 2022):

nspcc-dev/neofs-http-gw@7b1410968e/docs/api.md (L280)

@KirillovDenis commented on GitHub (Nov 23, 2022): https://github.com/nspcc-dev/neofs-http-gw/blob/7b1410968e66f7d692eec2bcc977eb4a6ca0204b/docs/api.md?plain=1#L280
Author
Owner

@alexvanin commented on GitHub (Nov 23, 2022):

Done, see https://github.com/nspcc-dev/neofs-http-gw/issues/227#issuecomment-1324805441

@alexvanin commented on GitHub (Nov 23, 2022): Done, see https://github.com/nspcc-dev/neofs-http-gw/issues/227#issuecomment-1324805441
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nspcc-dev/neofs-http-gw#86
No description provided.