summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);
}