We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.NET Command Line Tools (1.0.0-preview2-1-003177)
Product Information: Version: 1.0.0-preview2-1-003177 Commit SHA-1 hash: a2df9c2576
Runtime Environment: OS Name: Mac OS X OS Version: 10.12 OS Platform: Darwin RID: osx.10.12-x64 VS Code version: C# Extension version: 1.6.2
run dotnet new and put the following code into the Program.cs file
dotnet new
using System; namespace ConsoleApplication { public class Program { public static void Main(string[] args) { var format = System.Globalization.CultureInfo.InvariantCulture.DateTimeFormat; var d1 = DateTime.Parse("1/1/2017 20:00", format); var d2 = DateTime.Parse("1/1/2017 21:30", format); Console.WriteLine(d1<d2); } } }
Set a break point at the Console.WriteLine(d1<d2); and run debug, add d1<d2 in watch.
Console.WriteLine(d1<d2);
d1<d2
d1<d2 returns true
d1<d2 returned false
The text was updated successfully, but these errors were encountered:
@skilliscode Thanks for reporting the issue!
Sorry, something went wrong.
This is a dupe of #753. The issue is fixed in the 1.2 version of CoreCLR (which isn't released yet).
No branches or pull requests
Environment data
.NET Command Line Tools (1.0.0-preview2-1-003177)
Product Information:
Version: 1.0.0-preview2-1-003177
Commit SHA-1 hash: a2df9c2576
Runtime Environment:
OS Name: Mac OS X
OS Version: 10.12
OS Platform: Darwin
RID: osx.10.12-x64
VS Code version:
C# Extension version:
1.6.2
Steps to reproduce
run
dotnet new
and put the following code into the Program.cs fileSet a break point at the
Console.WriteLine(d1<d2);
and run debug, addd1<d2
in watch.Expected behavior
d1<d2 returns true
Actual behavior
d1<d2 returned false
The text was updated successfully, but these errors were encountered: