From 4ac079fedf03b4a11cd5b5be9edd9a7ceef8ddd4 Mon Sep 17 00:00:00 2001 From: Eugeni Dodonov Date: Wed, 28 Jan 2009 00:22:26 +0000 Subject: Fixed date handling in drakids (#39914). --- lib/network/ifw.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/network/ifw.pm b/lib/network/ifw.pm index 1148605..983969b 100644 --- a/lib/network/ifw.pm +++ b/lib/network/ifw.pm @@ -85,7 +85,9 @@ sub send_manage_request { sub format_date { my ($timestamp) = @_; require c; - c::strftime("%c", localtime($timestamp)); + # "%c" has strange effects on utf-8 locales + #c::strftime("%c", localtime($timestamp)); + c::strftime("%Y-%m-%d %H:%M:%S", localtime($timestamp)); } sub get_service { -- cgit v1.2.1