Commit 72f91047 authored by daniele's avatar daniele
Browse files

Minor fixes in the building process, Slurm plugin versioning and dcdbquerysum integration

parent 4fd356ec
......@@ -92,7 +92,11 @@ int main(int argc, char* argv[]) {
//std::cout << "End: " << end.getString() << std::endl;
struct tm tstart = {}, tend = {};
time_t cstart, cend;
// mktime() expects local time, so let's convert it
start.convertToLocal();
end.convertToLocal();
/* Format is 2016-01-14T09:41:06.455049000 */
strptime(start.getString().c_str(), "%Y-%m-%dT%T", &tstart);
strptime(end.getString().c_str(), "%Y-%m-%dT%T", &tend);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment