Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid windows reserverd characters #8

Merged
merged 1 commit into from
Mar 12, 2024

Conversation

hakon-matland-adsk
Copy link
Collaborator

@hakon-matland-adsk hakon-matland-adsk commented Mar 12, 2024

The approach with "toLocale" may include : or / in file names inside the zip file. Windows fails to unzip these files with errors around "The parameter is incorrect".

Screenshot 2024-03-12 at 15 48 30

Instead just format to simle HH-mm regardless of locale.

I've verified this works as it should across timezones, where I still got the appropriate file names on a project in the US, while my machine had CET as timezone.

The approach with "toLocale" may include `:` or `/` in file names inside the zip file. Windows fails to unzip these files with errors around "The parameter is incorrect".

Instead just format to simle HH-mm regardless of locale.

I've verified this works as it should across timezones, where I still got the appropriate file names on a project in the US, while my machine had CET as timezone.
@hakon-matland-adsk hakon-matland-adsk merged commit f80bda2 into main Mar 12, 2024
3 checks passed
@hakon-matland-adsk hakon-matland-adsk deleted the fix/dont-use-locale-in-file-names branch March 12, 2024 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant