]> sigrok.org Git - pulseview.git/blobdiff - test/view/ruler.cpp
Untangle the time formatting functions a bit
[pulseview.git] / test / view / ruler.cpp
index 400f845e52e3aeba85e2fd07ea8aabbf4f089372..a6dd1c9aad19d92d7148101580f0a8c7f890a304 100644 (file)
@@ -29,7 +29,7 @@ using namespace pv::view;
 namespace {
        QString format(const pv::util::Timestamp& t)
        {
-               return pv::util::format_si_value(t, "s", pv::util::SIPrefix::none, 6);
+               return pv::util::format_time_si(t, pv::util::SIPrefix::none, 6);
        }
 
        const double e = 0.0001;