From 304b4e97bef93bcbeb82b5339451bacbb72b4f31 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 5 Jan 2016 23:18:05 +0200 Subject: Fix nanoseconds formatting in to_stream(), operator<<() --- butl/timestamp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'butl/timestamp') diff --git a/butl/timestamp b/butl/timestamp index e68a59f..aaef04d 100644 --- a/butl/timestamp +++ b/butl/timestamp @@ -61,6 +61,10 @@ namespace butl // // Note also that these operators/function may throw std::system_error. // + // Finally, padding is not fully supported by these operators/function. They + // throw runtime_error if nanoseconds conversion specifier is present and + // the stream's width field has been set to non-zero value before the call. + // // Potential improvements: // - add flag to to_stream() to use // - support %[U] (microseconds) and %[M] (milliseconds). -- cgit v1.1