TheJumpCloud / support

Public scripts and examples for managing JumpCloud managed systems and service endpoints
267 stars 152 forks source link

ToString() wrong format in Wiki #581

Closed Carus0 closed 3 months ago

Carus0 commented 3 months ago

Describe the bug The examples in the 'Using the JumpCloud PowerShell Module' Wiki page that use the ToString() function, have a typo in the format decalaration.

To Reproduce Steps to reproduce the behavior: ToString('yyy-MM-ddTHH:MM:ss') will output the month value in the minute position.

Expected behavior A clear and concise description of what you expected to happen.

When formatting dates in powershell with the ToString() function, minutes are referenced by a lowercase m. (ToString('yyy-MM-ddTHH:mm:ss'))

Links Links to file or script with regards to the issue.

https://github.com/TheJumpCloud/support/wiki/Using-the-JumpCloud-PowerShell-Module

Screenshots If applicable, add screenshots to help explain your problem.

Not applicable.

System Device (please complete the following information):

Additional context

jworkmanjc commented 3 months ago

Thanks for the spot check @Carus0 I've updated the wiki with the requested changes.

Carus0 commented 3 months ago

Thanks!