aboutsummaryrefslogtreecommitdiff
path: root/butl/timestamp
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-01-05 23:18:05 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-01-07 20:45:51 +0200
commit304b4e97bef93bcbeb82b5339451bacbb72b4f31 (patch)
tree9281eee5194b2c9a7d0c744c9ae29fdac28c6e45 /butl/timestamp
parent24e05cd878553ad2379d513951f06ec984b08594 (diff)
Fix nanoseconds formatting in to_stream(), operator<<()
Diffstat (limited to 'butl/timestamp')
-rw-r--r--butl/timestamp4
1 files changed, 4 insertions, 0 deletions
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 %[<d>U] (microseconds) and %[<d>M] (milliseconds).