Skip to content
This repository was archived by the owner on Aug 6, 2024. It is now read-only.
This repository was archived by the owner on Aug 6, 2024. It is now read-only.

snap builder is locale dependend #5

@cmb69

Description

@cmb69

snapshot_task.bat uses the pseudo environment variables %date% and %time% to construct a timestamp for the log files. To correctly work, this requires the machine to use an English locale; otherwise the timestamp is broken (e.g. with a German locale is could be 13-03-2019_42-25 instead of 2019-03-22_13-42-25). Even worse, at least some locales will contain a comma, so that snap.bat will effectively be called with an additional parameter, as such setting force mode. For instance, calling snapshot_task.bat --task-args "php72 nts-windows-vc15-x64" with a German locale, will call something like snap.bat php72 nts-windows-vc15-x64 ,14-..log.

We should either determine the timestamp in a locale independend manner, or require an English locale.

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