summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni@mandriva.org>2009-01-28 00:22:26 +0000
committerEugeni Dodonov <eugeni@mandriva.org>2009-01-28 00:22:26 +0000
commit4ac079fedf03b4a11cd5b5be9edd9a7ceef8ddd4 (patch)
tree95b329c4d9c607a81e98649347c25638447a6a95
parented4aca3589e7d8636d150af197ac2adb2c1901c6 (diff)
downloaddrakx-net-4ac079fedf03b4a11cd5b5be9edd9a7ceef8ddd4.tar
drakx-net-4ac079fedf03b4a11cd5b5be9edd9a7ceef8ddd4.tar.gz
drakx-net-4ac079fedf03b4a11cd5b5be9edd9a7ceef8ddd4.tar.bz2
drakx-net-4ac079fedf03b4a11cd5b5be9edd9a7ceef8ddd4.tar.xz
drakx-net-4ac079fedf03b4a11cd5b5be9edd9a7ceef8ddd4.zip
Fixed date handling in drakids (#39914).
-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 {