Minor change to build date conversion

This commit is contained in:
RichardG867
2025-10-26 00:19:36 -03:00
parent 178e8dc0b2
commit fca58e9159

View File

@@ -352,11 +352,9 @@ function listBuild(data) {
break;
}
var ts = new Date(data['timestamp']);
var started;
var started = ts.toString();
if (ts.toDateString && ts.toTimeString)
started = ts.toDateString() + ' ' + ts.toTimeString().replace(/ \([^\)]+\)/g, '');
else
started = ts.toString();
p.appendChild(document.createTextNode('Started ' + started + (cause || '')));
p.appendChild(document.createElement('br'));
p.appendChild(document.createTextNode('More information on the '));