diff --git a/src/webui/static/app/ext.css b/src/webui/static/app/ext.css index ff2a1a59..c969aa03 100644 --- a/src/webui/static/app/ext.css +++ b/src/webui/static/app/ext.css @@ -510,9 +510,16 @@ width: 100px; } + +.x-nice-dayofweek { + display: inline-block; + width: 4em; +} + .x-nice-date { display: inline-block; - width: 10em; + text-align: center; + width: 6em; } .x-nice-time { diff --git a/src/webui/static/app/tvheadend.js b/src/webui/static/app/tvheadend.js index 1e6f879d..ab667d0c 100644 --- a/src/webui/static/app/tvheadend.js +++ b/src/webui/static/app/tvheadend.js @@ -156,7 +156,8 @@ Ext.Ajax.request({ */ tvheadend.niceDate = function(dt) { var d = new Date(dt); - return '
' + d.toLocaleString(window.navigator.language, {weekday: 'long'}) + ' ' + d.toLocaleDateString() + '
' + + return '
' + d.toLocaleString(window.navigator.language, {weekday: 'long'}) + '
' + + '
' + d.toLocaleDateString() + '
' + '
' + d.toLocaleTimeString() + '
'; }