summaryrefslogtreecommitdiffstats
path: root/perl-install/network/activefw.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-06-30 07:31:38 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-06-30 07:31:38 +0000
commitf68d4657bb658ccbc17ba413d09c46e7711f02dc (patch)
tree3d3e58860b96c23380d2e9c94b269e50920e756a /perl-install/network/activefw.pm
parenta75a383cd9e9ecf46af135884668ba939f29cb49 (diff)
downloaddrakx-f68d4657bb658ccbc17ba413d09c46e7711f02dc.tar
drakx-f68d4657bb658ccbc17ba413d09c46e7711f02dc.tar.gz
drakx-f68d4657bb658ccbc17ba413d09c46e7711f02dc.tar.bz2
drakx-f68d4657bb658ccbc17ba413d09c46e7711f02dc.tar.xz
drakx-f68d4657bb658ccbc17ba413d09c46e7711f02dc.zip
(format_date) do not load the bloaty POSIX module
Diffstat (limited to 'perl-install/network/activefw.pm')
-rw-r--r--perl-install/network/activefw.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/network/activefw.pm b/perl-install/network/activefw.pm
index 5ddd696d2..3b80093ce 100644
--- a/perl-install/network/activefw.pm
+++ b/perl-install/network/activefw.pm
@@ -3,7 +3,6 @@ package activefw;
use Net::DBus;
use Net::DBus::Binding::Watch;
use Gtk2::Helper;
-use POSIX qw(strftime);
use Socket;
sub new {
@@ -122,7 +121,8 @@ sub get_whitelist {
sub format_date {
my ($timestamp) = @_;
- strftime("%c", localtime($timestamp));
+ require c;
+ c::strftime("%c", localtime($timestamp));
}
sub get_service {