Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
WebUI: Add day of week to information dialogs in EPG and Recording grid
  • Loading branch information
ProfYaffle committed Dec 21, 2014
1 parent d5ce076 commit 0748af8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/webui/static/app/ext.css
Expand Up @@ -512,7 +512,7 @@

.x-nice-date {
display: inline-block;
width: 6em;
width: 10em;
}

.x-nice-time {
Expand Down
2 changes: 1 addition & 1 deletion src/webui/static/app/tvheadend.js
Expand Up @@ -156,7 +156,7 @@ Ext.Ajax.request({
*/
tvheadend.niceDate = function(dt) {
var d = new Date(dt);
return '<div class="x-nice-date">' + d.toLocaleDateString() + '</div>' +
return '<div class="x-nice-date">' + d.toLocaleString(window.navigator.language, {weekday: 'long'}) + ' ' + d.toLocaleDateString() + '</div>' +
'<div class="x-nice-time">' + d.toLocaleTimeString() + '</div>';
}

Expand Down

0 comments on commit 0748af8

Please sign in to comment.