diff options
author | Pascal Terjan <pterjan@mandriva.org> | 2010-02-10 10:17:12 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mandriva.org> | 2010-02-10 10:17:12 +0000 |
commit | 8bab77b128d039dad2a0055ee1569eadbb6d232c (patch) | |
tree | 40fedd0b80cc1b52f136526c0046a82f004581af | |
parent | af21864a266beeb09133981f6973f5e7dfc61b86 (diff) | |
download | mgaonline-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-- | NEWS | 3 | ||||
-rw-r--r-- | mdkapplet_gui.pm | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -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); } |