diff options
author | Charlie Swanson <charlie.swanson@mongodb.com> | 2017-09-27 16:10:35 -0400 |
---|---|---|
committer | Charlie Swanson <charlie.swanson@mongodb.com> | 2017-10-02 12:04:47 -0400 |
commit | ee6b784fecd5a8e8717a7a17a78a0d54535c5df7 (patch) | |
tree | 206b319ca42be531a0c1c51a09c1887bcc2c833e /src/mongo/db/pipeline/value.cpp | |
parent | 113b4fa007f638675586203fb5a9e735bcff36f5 (diff) | |
download | mongo-ee6b784fecd5a8e8717a7a17a78a0d54535c5df7.tar.gz |
SERVER-23410 Include millis and 'Z' when converting agg dates to strings
Diffstat (limited to 'src/mongo/db/pipeline/value.cpp')
-rw-r--r-- | src/mongo/db/pipeline/value.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/value.cpp b/src/mongo/db/pipeline/value.cpp index 2695da381d0..62e64c731e4 100644 --- a/src/mongo/db/pipeline/value.cpp +++ b/src/mongo/db/pipeline/value.cpp @@ -57,7 +57,7 @@ using std::stringstream; using std::vector; namespace { -constexpr StringData kISOFormatString = "%Y-%m-%dT%H:%M:%S"_sd; +constexpr StringData kISOFormatString = "%Y-%m-%dT%H:%M:%S.%LZ"_sd; } void ValueStorage::verifyRefCountingIfShould() const { |