Open EvilGrinUK opened 1 year ago
I've retested this in my lab. VcRedist uses the following code to determine the date value used for the ReleaseDate
property in the app:
$(Get-Date -Format (([System.Globalization.CultureInfo]::CurrentUICulture.DateTimeFormat).ShortDatePattern))
In my test system, I had to logout and back in again for PowerShell to see the short date pattern correctly, even though the system was configured for en-AU
:
I don't think I can account for mismatched settings for the system vs. the user context, unless we play it safe and don't set the ReleaseDate
property on the imported app (which is the import date, not the release date of the VcRedist).
Expected Behavior
Expect VcRedist to create application packages in SCCM.
Current Behavior
Error related to date format occurs when attempting to create the packages.
Failure Information (for bugs)
Steps to Reproduce
Context
The error relates to date formats. My locale is en-GB. Therefore my date format is dd/mm/yyyy rather than the usual mm/dd/yyyy en-US uses. I expect this is the confusion. Probably related to the fixes for #88
Failure Logs
See above.