We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45a9b39 commit c1a0996Copy full SHA for c1a0996
src/mongo/util/time_support_test.cpp
@@ -84,8 +84,9 @@ namespace {
84
85
// Test date before 1900 (negative tm_year values from gmtime)
86
#ifndef _WIN32 // Negative Dates don't currently work on Windows
87
- ASSERT_EQUALS(std::string("1860-01-02T03:04:05.006Z"),
88
- dateToISOStringUTC(Date_t(-3471195354994LL)));
+ if (!isTimeTSmall)
+ ASSERT_EQUALS(std::string("1860-01-02T03:04:05.006Z"),
89
+ dateToISOStringUTC(Date_t(-3471195354994LL)));
90
#endif
91
92
// Test with time_t == -1
0 commit comments