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 /mdkapplet_gui.pm | |
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
Diffstat (limited to 'mdkapplet_gui.pm')
-rw-r--r-- | mdkapplet_gui.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |