summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mdkapplet_gui.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/mdkapplet_gui.pm b/mdkapplet_gui.pm
index 2a55b88b..663a1dd7 100644
--- a/mdkapplet_gui.pm
+++ b/mdkapplet_gui.pm
@@ -126,6 +126,7 @@ sub setVar {
sub iso8601_date_to_locale {
my ($date) = @_;
return $date if $date !~ /(\d\d\d\d)-?(\d\d)-?(\d\d)/;
- strftime("%x", 0, 0, 0, $3, $2, $1-1900);
+ require POSIX;
+ POSIX::strftime("%x", 0, 0, 0, $3, $2, $1-1900);
}