Switch planned date comparison to -ge to keep the date one more day
This commit is contained in:
Родитель
de35a40b92
Коммит
522c3ebc45
|
@ -357,7 +357,7 @@ function RefreshItems()
|
|||
$today = [DateTime](Get-Date -Format "MM/dd/yyyy")
|
||||
foreach ($pkgVersionValue in $pkgVersionValues) {
|
||||
$ver, $date = $pkgVersionValue.Split(",")
|
||||
if (($date -as [DateTime]) -gt $today) {
|
||||
if (($date -as [DateTime]) -ge $today) {
|
||||
$pkgPlannedVersions[$ver] = New-Object PSObject -Property @{
|
||||
Version = $ver
|
||||
Date = ([DateTime]$date).Tostring("MM/dd/yyyy")
|
||||
|
|
Загрузка…
Ссылка в новой задаче