Skip to content

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

@vdistortion

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions