diff --git a/src/TDB2.cpp b/src/TDB2.cpp index 69790c5c6..1961a8e9f 100644 --- a/src/TDB2.cpp +++ b/src/TDB2.cpp @@ -35,7 +35,7 @@ #include #include #include -#include +#include #include #include #include @@ -348,7 +348,7 @@ Task TF2::load_task (const std::string& line) // or needs to be 'woken'. void TF2::load_gc (Task& task) { - ISO8601d now; + Datetime now; std::string status = task.get ("status"); if (status == "pending" || @@ -358,7 +358,7 @@ void TF2::load_gc (Task& task) } else if (status == "waiting") { - ISO8601d wait (task.get_date ("wait")); + Datetime wait (task.get_date ("wait")); if (wait < now) { task.set ("status", "pending"); @@ -709,7 +709,7 @@ void TDB2::update ( // old // new // --- - undo.add_line ("time " + ISO8601d ().toEpochString () + '\n'); + undo.add_line ("time " + Datetime ().toEpochString () + '\n'); undo.add_line ("old " + original.composeF4 () + '\n'); undo.add_line ("new " + task.composeF4 () + '\n'); undo.add_line ("---\n"); @@ -728,7 +728,7 @@ void TDB2::update ( // time