Jaykul / PowerLine

A more PowerShell prompt
MIT License
567 stars 31 forks source link

Specify -format parameter when using Get-Date #63

Closed jackdcasey closed 3 years ago

jackdcasey commented 4 years ago

The Get-Date cmdlet has been updated with a new parameter, -FromUnixTime.

Because of this, using -f is ambiguous. My proposal is to change instances of this to -format. This will ensure no ambiguity when used.

For example: { Get-Date -f "T" } becomes { Get-Date -format "T" }

Fix: #62

Jaykul commented 3 years ago

Thanks. Sorry I didn't see this until now.