Skip to content

Conversation

@mnieto
Copy link
Contributor

@mnieto mnieto commented May 14, 2023

PR Summary

Fix #511
Date format in .github/moduleMessages.json is different than test/sampleFiles/moduleMessages.json
Also the [DateTime]::Parse can throw execption depending on the current locale.

This change unifies the date format in _showModuleLoadingMessages function using ParseExact instead Parse

The field toDate in moduleMessages.json should have dd/MM/yyyy HH:mm:ss format

PR Checklist

@SebastianSchuetze
Copy link
Contributor

Thanks for the fix!

@SebastianSchuetze SebastianSchuetze merged commit a5e282b into MethodsAndPractices:trunk May 14, 2023
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.

Error during module import due to invalid message date

2 participants