}
-time_t from_ctime(string t)
+time_t from_asctime_utc(string t)
{
// Example for the format: "Sun Nov 6 10:39:39 2011\n"
// Generously remove trailing '\n' (and other whitespace if needed)
<< "ยด (invalid format)");
return static_cast<time_t>(-1);
}
+ loc_dt.setTimeSpec(Qt::UTC);
return loc_dt.toTime_t();
}