add ls, start and end command
This commit is contained in:
@@ -37,3 +37,6 @@ class TimeSlot():
|
||||
if d < self.start:
|
||||
raise ValueError("End date must be after the start date.")
|
||||
self._end = d.timestamp()
|
||||
|
||||
def end_now(self):
|
||||
self.end = datetime.now()
|
||||
|
||||
Reference in New Issue
Block a user