summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/network/ifw.pm4
1 files changed, 3 insertions, 1 deletions
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 {