# HG changeset patch # User Alain Mazy # Date 1651401532 -7200 # Node ID 3cdda1cec53772854619af64d4382e7c5b2b4d78 # Parent b1fe3b44ce1dca42f1093be30a80b90c78ae18c3 fix diff -r b1fe3b44ce1d -r 3cdda1cec537 OrthancServer/Plugins/Samples/Housekeeper/Plugin.cpp --- a/OrthancServer/Plugins/Samples/Housekeeper/Plugin.cpp Sun May 01 10:47:08 2022 +0200 +++ b/OrthancServer/Plugins/Samples/Housekeeper/Plugin.cpp Sun May 01 12:38:52 2022 +0200 @@ -26,6 +26,7 @@ #include #include #include +#include #include #include #include @@ -257,7 +258,7 @@ target["LastProcessedChange"] = Json::Value::Int64(lastProcessedChange); target["LastChangeToProcess"] = Json::Value::Int64(lastChangeToProcess); - if (lastTimeStarted == boost::posix_time::special_values::not_a_date_time) + if (lastTimeStarted == boost::date_time::special_values::not_a_date_time) { target["LastTimeStarted"] = Json::Value::null; } @@ -277,7 +278,7 @@ lastChangeToProcess = source["LastChangeToProcess"].asInt64(); if (source["LastTimeStarted"].isNull()) { - lastTimeStarted = boost::posix_time::special_values::not_a_date_time; + lastTimeStarted = boost::date_time::special_values::not_a_date_time; } else {