Skip to content

Commit

Permalink
Fixed UTC conversion issues in Out-LogFile.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahamedur committed Dec 15, 2024
1 parent 5e32481 commit ae1d434
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Hawk/internal/functions/Out-LogFile.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ Function Out-LogFile {
$LogOutput = $true

# Get the current date
[string]$date = Get-Date -AsUTC -Format G
[string]$date = (Get-Date).ToUniversalTime().ToString("G")


# Deal with each switch and what log string it should put out and if any special output

Expand Down

0 comments on commit ae1d434

Please sign in to comment.