Working on the time tracker
This commit is contained in:
parent
09ad1668a0
commit
272abe7a9d
1 changed files with 2 additions and 2 deletions
|
|
@ -1060,7 +1060,7 @@
|
|||
},
|
||||
write: function(value) {
|
||||
if (value === null) {
|
||||
self.startTime('');
|
||||
self.startTime(0);
|
||||
} else {
|
||||
if (self.startTime()) {
|
||||
var orig = self.startDateMidnight().unix();
|
||||
|
|
@ -1078,7 +1078,7 @@
|
|||
},
|
||||
write: function(value) {
|
||||
if (value === null) {
|
||||
self.endTime('');
|
||||
self.endTime(0);
|
||||
} else {
|
||||
self.endTime(self.startDateMidnight().unix() + value);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue