Skip to content

Commit

Permalink
fix enum
Browse files Browse the repository at this point in the history
  • Loading branch information
devblackops committed May 29, 2024
1 parent b796314 commit 08310bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Terminal-Icons/Public/Format-TerminalIconsDate.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function Format-TerminalIconsDate {
)

if ($CurrentSettings.DateTimeFormat -eq [DateTimeFormat]::HUMANIZE) {
$isUtc = $CurrentSettings.TimeZoneDisplay -eq [DataTimeZone]::UTC
$isUtc = $CurrentSettings.TimeZoneDisplay -eq [TimeZoneDisplay]::UTC
$DateTime.Humanize($isUtc)
} else {
if ($CurrentSettings.TimeZoneDisplay -eq [TimeZoneDisplay]::UTC) {
Expand Down

0 comments on commit 08310bd

Please sign in to comment.