Working on time tracker
This commit is contained in:
parent
32ae5d55ad
commit
bd96938e4c
1 changed files with 2 additions and 0 deletions
|
|
@ -521,6 +521,7 @@
|
|||
}
|
||||
|
||||
self.age = ko.computed(function() {
|
||||
model.clock(); // bind to the clock
|
||||
if (! self.time_log().length) {
|
||||
return '';
|
||||
}
|
||||
|
|
@ -640,6 +641,7 @@
|
|||
});
|
||||
|
||||
self.age = ko.computed(function() {
|
||||
model.clock(); // bind to the clock
|
||||
return moment.unix(self.startTime()).fromNow();
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue