Working on the time tracker

This commit is contained in:
Hillel Coren 2017-10-01 13:06:15 +03:00
parent b70c4b6b20
commit 707f278d8c
2 changed files with 2 additions and 4 deletions

View File

@ -127,7 +127,7 @@
} }
.ui-timepicker-wrapper { .ui-timepicker-wrapper {
width: 200px !important; width: 230px !important;
} }
.footer { .footer {

View File

@ -1022,8 +1022,6 @@
return self.startTime(); return self.startTime();
}, },
write: function(value) { write: function(value) {
console.log('midnigh: ' + self.startDateMidnight().unix());
console.log('value: ' + value);
self.startTime(self.startDateMidnight().unix() + value); self.startTime(self.startDateMidnight().unix() + value);
} }
}); });
@ -1033,7 +1031,7 @@
return self.endTime(); return self.endTime();
}, },
write: function(value) { write: function(value) {
self.endTime(self.startDateMidnight().unix() + value);
} }
}); });