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

Include different delimiter for Date #3415

Merged
merged 2 commits into from
Feb 8, 2022

Conversation

left-code
Copy link
Contributor

In case that Windows container is created with different localization function parseWindowsDirectoryItems won't return any folder.
Tested on container created using German localization.

@left-code left-code requested a review from a team as a code owner February 6, 2022 23:01
Copy link
Contributor

@philliphoff philliphoff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a great catch! Thanks for the contribution!

@bwateratmsft
Copy link
Contributor

@left-code what does the date field look like on German localization?

@left-code
Copy link
Contributor Author

@left-code what does the date field look like on German localization?

@bwateratmsft It's in format dd.mm.yyyy delimited by dot.

Maybe my solution won't work for all localization, but I would say that dot delimiter is pretty common in Europe.

src/docker/files/ContainerFilesUtils.ts Outdated Show resolved Hide resolved
Co-authored-by: Brandon Waterloo [MSFT] <36966225+bwateratmsft@users.noreply.github.com>
@bwateratmsft
Copy link
Contributor

Everything looks good, thanks for the contribution @left-code!

@bwateratmsft bwateratmsft added this to the 1.20.0 milestone Feb 8, 2022
@bwateratmsft bwateratmsft merged commit c0ae3e2 into microsoft:main Feb 8, 2022
@left-code left-code deleted the left-code/parse-windows-dir branch February 8, 2022 15:55
@bwateratmsft
Copy link
Contributor

This is now released in Docker extension version 1.20.0. Thanks for your contribution @left-code!

@microsoft microsoft locked and limited conversation to collaborators Mar 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants