summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-mobilephone/x70talk/files/x70talk-correct-month.diff')
-rw-r--r--app-mobilephone/x70talk/files/x70talk-correct-month.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/app-mobilephone/x70talk/files/x70talk-correct-month.diff b/app-mobilephone/x70talk/files/x70talk-correct-month.diff
new file mode 100644
index 000000000000..1bc0fc55dc69
--- /dev/null
+++ b/app-mobilephone/x70talk/files/x70talk-correct-month.diff
@@ -0,0 +1,13 @@
+diff -up x70talk/x70.c x70talk.correct-month/x70.c
+--- x70talk/x70.c 2004-05-08 08:49:00.000000000 +0100
++++ x70talk.correct-month/x70.c 2004-12-10 20:16:42.686644088 +0100
+@@ -492,7 +492,7 @@ int x70_set_time(int fd, char *errbuf)
+ time(&now);
+ tm = localtime(&now);
+ sprintf(cmdbuf, "AT+CCLK=%02d/%02d/%02d,%02d:%02d:%02d",
+- tm->tm_year-100, tm->tm_mon, tm->tm_mday,
++ tm->tm_year-100, tm->tm_mon+1, tm->tm_mday,
+ tm->tm_hour, tm->tm_min, tm->tm_sec);
+
+ i = at_run(fd, cmdbuf, 0, &resp);
+