Skip to content

Commit 7ae0697

Browse files
feat: add substring
1 parent c812091 commit 7ae0697

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/status-bar-items/mob-status-bar-item.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export class MobStatusBarItem {
4242
clearInterval(this._lastSetInterval);
4343
this._lastSetInterval = null;
4444
}
45-
45+
4646
this._statusBarItem.text = `$(${this._props.icon}) ${this._props.name}`;
4747
this._statusBarItem.show();
4848
}
@@ -59,7 +59,7 @@ export class MobStatusBarItem {
5959
this._lastSetInterval = setInterval(function () {
6060
var date = new Date(0);
6161
date.setSeconds(seconds);
62-
var timeString = date.toISOString().substr(11, 8);
62+
var timeString = date.toISOString().substring(11, 19);
6363

6464
self._statusBarItem.text = `${timeString}`;
6565

0 commit comments

Comments
 (0)