From cd2959a44a006e9e2d814995c6b7aff7e6229a0b Mon Sep 17 00:00:00 2001 From: Dominic Evans Date: Tue, 8 Jun 2010 21:51:39 +0100 Subject: Improve/fix locale date/time formatting. --- css/styles.css | 3 ++- pages/recordings.ecpp | 6 ++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/css/styles.css b/css/styles.css index 33822fc..4fd23b1 100644 --- a/css/styles.css +++ b/css/styles.css @@ -933,6 +933,7 @@ div.recording_item { } .recording_item div.recording_day { + width: 13em; } .recording_item div.recording_date { @@ -944,7 +945,7 @@ div.recording_item { } .recording_item div.recording_duration { - width: 2.5em; + width: 4em; } .recording_item div.recording_name { diff --git a/pages/recordings.ecpp b/pages/recordings.ecpp index 5789304..060c847 100644 --- a/pages/recordings.ecpp +++ b/pages/recordings.ecpp @@ -223,10 +223,8 @@ for (iter = recordingsTree->begin(path); iter != end; ++iter) {
<%cpp> reply.out() << StringRepeat(level + 1, "\"\""); <%cpp> if (!archived.empty()) { " alt="on_dvd" <& tooltip.hint text=(archived) &> /><%cpp> } else { " alt="movie" /><%cpp> }
-
<$ day $>
-
<$ FormatDateTime(tr("%b %d %y"), startTime) $>
-
<$ FormatDateTime(tr("%I:%M %p"), startTime) $>
-
<$ duration $>
+
<$ FormatDateTime(tr("%a %x %X"), startTime) $>
+
(<$ duration $>)
-- cgit v1.2.3