mirror of
https://github.com/BubbaGumpShrump/AutoTrackR2.git
synced 2025-05-03 17:25:31 +00:00
commit
e43286bde1
1 changed files with 2 additions and 2 deletions
|
@ -122,7 +122,7 @@ if (Test-Path "$scriptFolder\Kill-Log.csv") {
|
|||
$currentDate = Get-Date
|
||||
$dateFormat = "dd MMM yyyy HH:mm UTC"
|
||||
foreach ($kill in $historicKills) {
|
||||
$killDate = [datetime]::ParseExact($kill.KillTime, $dateFormat, [System.Globalization.CultureInfo]::InvariantCulture)
|
||||
$killDate = [datetime]::ParseExact($kill.KillTime.Trim(), $dateFormat, [System.Globalization.CultureInfo]::InvariantCulture)
|
||||
If ($killdate.year -eq $currentDate.Year -and $killdate.month -eq $currentDate.Month) {
|
||||
$global:killTally++
|
||||
}
|
||||
|
@ -517,4 +517,4 @@ finally {
|
|||
$reader.Close()
|
||||
$fileStream.Close()
|
||||
}
|
||||
#>
|
||||
#>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue