Commit f148596c authored by Daniel Gollub's avatar Daniel Gollub Committed by Paolo Bacchilega

application/x-deb off-by-one month file timestamp

parent 602af901
......@@ -97,7 +97,7 @@ process_data_line (char *line,
tmfields = g_strsplit(fields[3], "-", 3);
if (tmfields[2]) {
tm.tm_year = atoi (tmfields[0]) - 1900;
tm.tm_mon = atoi (tmfields[1]);
tm.tm_mon = atoi (tmfields[1]) - 1;
tm.tm_mday = atoi (tmfields[2]);
}
g_strfreev (tmfields);
......
Markdown is supported
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