Skip to content

Commit

Permalink
Update Write-Log-Class.psm1
Browse files Browse the repository at this point in the history
Moved from short to long time string
  • Loading branch information
captainqwerty committed Feb 1, 2022
1 parent 1cda7c7 commit 08c8dce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Class/Write-Log/Write-Log-Class.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class WriteLog {

if($null -eq $this.DateFormat) {
[DateTime]$Date = Get-Date
$timeStamp = $date.ToShortDateString() + " " + $date.ToShortTimeString()
$timeStamp = $date.ToShortDateString() + " " + $date.ToLongTimeString()
} else {
$timeStamp = Get-date -Format $this.DateFormat
}
Expand Down

0 comments on commit 08c8dce

Please sign in to comment.