From 094732f666ff0529262d78b332d3a835605d9374 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Tue, 7 Jun 2011 16:54:13 +0300 Subject: [PATCH] Add lexical conversion for DateTime --- source/time/datetime.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/time/datetime.h b/source/time/datetime.h index b786798..f00d377 100644 --- a/source/time/datetime.h +++ b/source/time/datetime.h @@ -77,6 +77,9 @@ private: void normalize(); }; +inline void operator<<(LexicalConverter &c, const DateTime &d) +{ c.result(d.format_rfc3339()); } + } // namespace Time } // namespace Msp -- 2.43.0