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

Fix debug log files for certain locales #2288

Merged
merged 1 commit into from Nov 17, 2018
Merged

Fix debug log files for certain locales #2288

merged 1 commit into from Nov 17, 2018

Conversation

phlmn
Copy link
Contributor

@phlmn phlmn commented Nov 16, 2018

When using --log-level 5 on a system with US locale the command failed because the name of the log file to be created contained slashes (eg. 2018/11/16).

I replaced Date.toLocaleString() with Date.toISOString() to fix that and provide consistent results.

DeMoorJasper
DeMoorJasper previously approved these changes Nov 16, 2018
@phlmn
Copy link
Contributor Author

phlmn commented Nov 16, 2018

Sorry, I did forget to run prettier. 😳

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.

None yet

2 participants