Event date formating

gh-pages
Guillaume RISCHARD 2014-08-31 04:02:51 +02:00
parent dae41bc477
commit 0c37d9b755
1 changed files with 1 additions and 1 deletions

View File

@ -256,7 +256,7 @@ function l2events() {
var label = $('<h1>').html(l2event.label).text();
var description = $('<p>').html(l2event.has_subtitle).text();
output += '<div class="panel">' + '<h1>' + label + ' <small>' + moment(l2event.startdate, "YYYY-MM-DD HH:mm:ss").format('dddd, Do \of MMMM') + '</small></h1>' + description + '</div>';
output += '<div class="panel">' + '<h1>' + label + ' <small>' + moment(l2event.startdate, "YYYY-MM-DD HH:mm:ss").format('dddd, D MMMM HH:mm') + '</small></h1>' + description + '</div>';
};