Show the modification date/time using the "nl" locale
This commit is contained in:
parent
1f1e4ed079
commit
e709985ba2
|
@ -58,7 +58,9 @@ function triggerSelect(listId) {
|
|||
.addClass("bg-" + bgColors[list.index])
|
||||
.addClass("text-" + textColors[list.index]);
|
||||
$('#listName').text('Lijst van ' + list.name)
|
||||
$('#listUpdatedAt').text('Laaste aanpassing op: FIXME');
|
||||
mtime = new Date(list.mtime.secs_since_epoch * 1000);
|
||||
$('#listUpdatedAt').text('Laaste aanpassing op ' +
|
||||
mtime.toLocaleDateString("nl") + ' om ' + mtime.toLocaleTimeString("nl"));
|
||||
$('#listData').html(list.data);
|
||||
$('#editButton').show();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue