Skip to content

forceUTC is forwarded to zip-stream, but zip-stream uses forceLocalTime #843

Description

@vdistortion

zip-stream only uses options.forceLocalTime internally:

entry.setTime(data.date, this.options.forceLocalTime)

However, archiver exposes and forwards forceUTC.

I could not find any runtime handling or translation between these options, which suggests that forceUTC may currently be ignored by zip-stream.

Is this intended, or should archiver translate:

forceUTC: true

into:

forceLocalTime: false

Related:
archiverjs/node-zip-stream#266

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions