Skip to content

Commit e386e37

Browse files
committed
fix: #160 disabling automatic clock-outs
1 parent 64dacf0 commit e386e37

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

time_tracker_api/time_entries/time_entries_model.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,11 @@ def find_running(self):
408408
time_entry = self.repository.find_running(
409409
event_ctx.tenant_id, event_ctx.user_id
410410
)
411+
# TODO: we need to make this work using the users time zone
412+
# This is disabled as part of https://github.com/ioet/time-tracker-backend/issues/160
413+
# Remove all these comments after implementing
414+
# https://github.com/ioet/time-tracker-backend/issues/159
415+
# https://github.com/ioet/time-tracker-backend/issues/162
411416
# self.stop_time_entry_if_was_left_running(time_entry)
412417
return time_entry
413418

0 commit comments

Comments
 (0)