Skip to content

Commit

Permalink
Fix DateTime bug
Browse files Browse the repository at this point in the history
  • Loading branch information
chidozieononiwu committed Feb 1, 2021
1 parent 8505e8f commit 981dbe4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eng/common/scripts/Prepare-Release.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ if (!$ReleaseDate)
}
else
{
$ParsedReleaseDate = ([datetime]$ReleaseDate, 'MM/dd/yyyy', [Globalization.CultureInfo]::InvariantCulture)
$ParsedReleaseDate = [datetime]$ReleaseDate
}

$releaseDateString = $ParsedReleaseDate.ToString("MM/dd/yyyy")
Expand Down

0 comments on commit 981dbe4

Please sign in to comment.