summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xoverlays/worktime/worktime.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/overlays/worktime/worktime.py b/overlays/worktime/worktime.py
index c7b013f9..678c0d69 100755
--- a/overlays/worktime/worktime.py
+++ b/overlays/worktime/worktime.py
@@ -166,7 +166,7 @@ class Worktime(object):
166 stripped_line = line.strip() 166 stripped_line = line.strip()
167 reset_date = datetime.strptime(stripped_line, date_format).replace(tzinfo=tzlocal()) 167 reset_date = datetime.strptime(stripped_line, date_format).replace(tzinfo=tzlocal())
168 168
169 if reset_date > start_date and reset_date < end_date: 169 if reset_date > start_date and reset_date <= end_date:
170 start_date = reset_date 170 start_date = reset_date
171 except IOError as e: 171 except IOError as e:
172 if e.errno != 2: 172 if e.errno != 2: