Fix last keep alive date

This commit is contained in:
Adri Valle 2019-08-27 11:11:39 +02:00
parent 28fb1689fa
commit efaba94428

View File

@ -47,7 +47,7 @@ export class StatusController {
try {
return this.timeService.offset(time);
} catch (error) {
return time !== '-' ? `${time} (UTC)` : time;
return time === (!'-' && !undefined) ? `${time} (UTC)` : (time || '-');
}
}