mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 08:03:30 +02:00
Fix showScreen not working.
This commit is contained in:
@@ -44,7 +44,8 @@ module.exports = function LogcatServiceFactory(socket, DeviceService) {
|
||||
|
||||
function enhanceEntry(data) {
|
||||
var date = new Date(data.date * 1000)
|
||||
data.dateLabel = _s.pad(date.getHours(), 2, '0') + ':' +
|
||||
data.dateLabel =
|
||||
_s.pad(date.getHours(), 2, '0') + ':' +
|
||||
_s.pad(date.getMinutes(), 2, '0') + ':' +
|
||||
_s.pad(date.getSeconds(), 2, '0') + '.' +
|
||||
_s.pad(date.getMilliseconds(), 3, '0')
|
||||
|
||||
Reference in New Issue
Block a user