You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exception : System.Management.Automation.MethodInvocationException: Exception calling "Parse" with "1"
argument(s): "String was not recognized as a valid DateTime." ---> System.FormatException:
String was not recognized as a valid DateTime.
ScriptStackTrace : at , C:\Program
Files\WindowsPowerShell\Modules\VSTeam\7.9.0\vsteam.functions.ps1: line 1154
Actual message line:
@{msg=Module Version 8.0.0 will stop supporting all TFS (2017,2018) versions. In the future it will also only keep the newest server versions in the support.; toDate=31/12/2099 23:59:59; displayFromVersion=7.4.0; displayToVersion=8.0.0; type=warning}
PS C:\windows\system32> [DateTime]::Parse("31/12/2098 23:59:59")
Exception calling "Parse" with "1" argument(s): "String was not recognized as a valid DateTime."
Providing the culture info could fix the problem (vsteam.functions.ps1:1154):
PS C:\Temp> [DateTime]::Parse("31/12/2099 23:29:29", [CultureInfo]::new("en-GB"))
Thursday, December 31, 2099 11:29:29 PM
Steps to reproduce
Expected behavior
No errors during module import.
Actual behavior?
Exception : System.Management.Automation.MethodInvocationException: Exception calling "Parse" with "1"
argument(s): "String was not recognized as a valid DateTime." ---> System.FormatException:
String was not recognized as a valid DateTime.
ScriptStackTrace : at , C:\Program
Files\WindowsPowerShell\Modules\VSTeam\7.9.0\vsteam.functions.ps1: line 1154
Actual message line:
@{msg=Module Version 8.0.0 will stop supporting all TFS (2017,2018) versions. In the future it will also only keep the newest server versions in the support.; toDate=31/12/2099 23:59:59; displayFromVersion=7.4.0; displayToVersion=8.0.0; type=warning}
PS C:\windows\system32> [DateTime]::Parse("31/12/2098 23:59:59")
Exception calling "Parse" with "1" argument(s): "String was not recognized as a valid DateTime."
On Which OS have you tried it?
Windows
What was your server version?
Azure DevOps Services
Other server version
No response
Log output of used API
Log output of $PSVersionTable
The text was updated successfully, but these errors were encountered: