From f68d4657bb658ccbc17ba413d09c46e7711f02dc Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 30 Jun 2005 07:31:38 +0000 Subject: (format_date) do not load the bloaty POSIX module --- perl-install/network/activefw.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install/network/activefw.pm') 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 { -- cgit v1.2.1