summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2010-02-10 10:17:12 +0000
committerPascal Terjan <pterjan@mandriva.org>2010-02-10 10:17:12 +0000
commit8bab77b128d039dad2a0055ee1569eadbb6d232c (patch)
tree40fedd0b80cc1b52f136526c0046a82f004581af
parentaf21864a266beeb09133981f6973f5e7dfc61b86 (diff)
downloadmgaonline-8bab77b128d039dad2a0055ee1569eadbb6d232c.tar
mgaonline-8bab77b128d039dad2a0055ee1569eadbb6d232c.tar.gz
mgaonline-8bab77b128d039dad2a0055ee1569eadbb6d232c.tar.bz2
mgaonline-8bab77b128d039dad2a0055ee1569eadbb6d232c.tar.xz
mgaonline-8bab77b128d039dad2a0055ee1569eadbb6d232c.zip
fix dates display wrong by one month
-rw-r--r--NEWS3
-rw-r--r--mdkapplet_gui.pm2
2 files changed, 4 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index e83e531b..706c710f 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- mdkapplet
+ o fix dates display wrong by one month
+
Version 2.77.15.16 - 5 February 2010, Thierry Vignaud
- mdkapplet
diff --git a/mdkapplet_gui.pm b/mdkapplet_gui.pm
index 663a1dd7..66131c61 100644
--- a/mdkapplet_gui.pm
+++ b/mdkapplet_gui.pm
@@ -127,6 +127,6 @@ sub iso8601_date_to_locale {
my ($date) = @_;
return $date if $date !~ /(\d\d\d\d)-?(\d\d)-?(\d\d)/;
require POSIX;
- POSIX::strftime("%x", 0, 0, 0, $3, $2, $1-1900);
+ POSIX::strftime("%x", 0, 0, 0, $3, $2-1, $1-1900);
}