Config: Migrated form ISO8601d to Datetime

This commit is contained in:
Paul Beckingham 2016-12-17 21:19:50 -05:00
parent cdac253556
commit 29300ea9e1

View file

@ -35,7 +35,7 @@
#include <inttypes.h> #include <inttypes.h>
#include <unistd.h> #include <unistd.h>
#include <stdlib.h> #include <stdlib.h>
#include <ISO8601.h> #include <Datetime.h>
#include <FS.h> #include <FS.h>
#include <Timer.h> #include <Timer.h>
#include <JSON.h> #include <JSON.h>
@ -490,7 +490,7 @@ void Config::createDefaultRC (const std::string& rc, const std::string& data)
auto loc = _defaults.find ("data.location=~/.task"); auto loc = _defaults.find ("data.location=~/.task");
// loc+0^ +14^ +21^ // loc+0^ +14^ +21^
ISO8601d now; Datetime now;
std::stringstream contents; std::stringstream contents;
contents << "# [Created by " contents << "# [Created by "
<< PACKAGE_STRING << PACKAGE_STRING