[file-roller/gnome-3-16] application/x-deb off-by-one month file timestamp
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [file-roller/gnome-3-16] application/x-deb off-by-one month file timestamp
- Date: Sun, 13 Dec 2015 09:13:53 +0000 (UTC)
commit f148596c3fb1c15afab634611dec1e6d36fb16a9
Author: Daniel Gollub <dgollub brocade com>
Date: Thu Jul 23 16:41:03 2015 +0200
application/x-deb off-by-one month file timestamp
src/fr-command-dpkg.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/fr-command-dpkg.c b/src/fr-command-dpkg.c
index 3c64f88..ea2657a 100644
--- a/src/fr-command-dpkg.c
+++ b/src/fr-command-dpkg.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]