summaryrefslogtreecommitdiff
path: root/src/mongo/util/time_support.h
diff options
context:
space:
mode:
authorSpencer T Brody <spencer@mongodb.com>2014-08-14 19:26:40 -0400
committerSpencer T Brody <spencer@mongodb.com>2014-08-15 16:41:49 -0400
commit95e93e471d6a7852e4daa41214501474d4bd4866 (patch)
tree055a7221781cbc983e487514535be8e228b7e2ff /src/mongo/util/time_support.h
parentdf064a77f5bbf80396ce71c70f68eecc062d1b42 (diff)
downloadmongo-95e93e471d6a7852e4daa41214501474d4bd4866.tar.gz
SERVER-14448 Move replSetGetStatus unit test from a repl coordinator to a topology coordinator test
Diffstat (limited to 'src/mongo/util/time_support.h')
-rw-r--r--src/mongo/util/time_support.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/util/time_support.h b/src/mongo/util/time_support.h
index f7e62476eb8..c96a9793ac5 100644
--- a/src/mongo/util/time_support.h
+++ b/src/mongo/util/time_support.h
@@ -64,6 +64,8 @@ namespace mongo {
bool isFormatable() const;
};
+ std::ostream& operator<<(std::ostream &s, const Date_t &t);
+
// uses ISO 8601 dates without trailing Z
// colonsOk should be false when creating filenames
std::string terseCurrentTime(bool colonsOk=true);