summaryrefslogtreecommitdiff
path: root/GroLUG/lib/GroLUG.pm
diff options
context:
space:
mode:
Diffstat (limited to 'GroLUG/lib/GroLUG.pm')
-rw-r--r--GroLUG/lib/GroLUG.pm8
1 files changed, 7 insertions, 1 deletions
diff --git a/GroLUG/lib/GroLUG.pm b/GroLUG/lib/GroLUG.pm
index f7c7751..bfc7986 100644
--- a/GroLUG/lib/GroLUG.pm
+++ b/GroLUG/lib/GroLUG.pm
@@ -7,7 +7,7 @@ use Catalyst qw{
Session Session::Store::DBI Session::State::Cookie
Authentication Authentication::Store::Htpasswd Authentication::Credential::Password
Authorization::Roles
- HTML::Widget
+ HTML::Widget Unicode
};
use Catalyst::Log::Log4perl;
@@ -28,4 +28,10 @@ sub index : Private {
}
}
+sub strdate {
+ my ($self,$date)=@_;
+
+ return (ref $date) ? $date->strftime('%F') : '';
+}
+
1;