diff options
author | Shaun Verch <shaun.verch@mongodb.com> | 2014-05-13 17:01:04 -0400 |
---|---|---|
committer | Shaun Verch <shaun.verch@mongodb.com> | 2014-05-16 14:58:18 -0400 |
commit | bf5f075b3b73c242042be8fd2c0b9b60af5f0089 (patch) | |
tree | d29448d3df2762dfee77783386c8a8c564537a79 /src/mongo/util/time_support.h | |
parent | 50045df21469d45216c5fb8899d68818fcc7f38a (diff) | |
download | mongo-bf5f075b3b73c242042be8fd2c0b9b60af5f0089.tar.gz |
SERVER-13760 Do not call dateToISOString if date is not formatable
Diffstat (limited to 'src/mongo/util/time_support.h')
-rw-r--r-- | src/mongo/util/time_support.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/util/time_support.h b/src/mongo/util/time_support.h index 61e6a1b02ff..9ddc39307d7 100644 --- a/src/mongo/util/time_support.h +++ b/src/mongo/util/time_support.h @@ -45,6 +45,8 @@ namespace mongo { int64_t asInt64() const { return static_cast<int64_t>(millis); } + + static const Date_t maxFormatableDate; }; // uses ISO 8601 dates without trailing Z |