diff --git a/test/posix/ptz.pass.cpp b/test/posix/ptz.pass.cpp index 5601c21..9e15e3a 100644 --- a/test/posix/ptz.pass.cpp +++ b/test/posix/ptz.pass.cpp @@ -29,10 +29,11 @@ bool is_equal(date::sys_info const& x, date::sys_info const& y) { + using namespace std::chrono; return x.begin == y.begin && x.end == y.end && x.offset == y.offset && - x.save == y.save && + (x.save == minutes{0}) == (y.save == minutes{0}) && x.abbrev == y.abbrev; }