diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-09-04 16:15:39 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-09-04 16:15:39 +0200 |
commit | eaf13f53eeaba8f6ffe5f2e38ff51eefd273046d (patch) | |
tree | e1ebaa2c4695cc76b4e0cc5bd8433dde6cebecda /libbutl/timestamp.cxx | |
parent | f827ab10652dd7e6caa6e600821e15b0f461b52c (diff) |
Add timestamp_unreal special value
Diffstat (limited to 'libbutl/timestamp.cxx')
-rw-r--r-- | libbutl/timestamp.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libbutl/timestamp.cxx b/libbutl/timestamp.cxx index b0bb9ad..bba0865 100644 --- a/libbutl/timestamp.cxx +++ b/libbutl/timestamp.cxx @@ -273,6 +273,9 @@ namespace butl if (ts == timestamp_nonexistent) return os << "<nonexistent>"; + + if (ts == timestamp_unreal) + return os << "<unreal>"; } time_t t (system_clock::to_time_t (ts)); |