Skip to content

Commit 4c164d9

Browse files
committed
Fix since / until
1 parent 46a42c1 commit 4c164d9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

did/plugins/jira.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -460,8 +460,8 @@ def fetch(self):
460460
self.user.login or self.user.email)
461461
query = (
462462
f"worklogAuthor = '{self.user.login or self.user.email}' "
463-
f"and worklogDate > {self.options.since} "
464-
f"and workLogDate < {self.options.until} "
463+
f"and worklogDate >= {self.options.since} "
464+
f"and workLogDate <= {self.options.until} "
465465
)
466466
if self.parent.project:
467467
query = query + f" AND project in ({self.parent.project})"
@@ -477,9 +477,9 @@ def fetch(self):
477477
(wl["author"]["name"] == self.user.login
478478
or wl["author"]["emailAddress"] == self.user.email)
479479
and dateutil.parser.parse(wl["created"]).date()
480-
> self.options.since.date
480+
>= self.options.since.date
481481
and dateutil.parser.parse(wl["created"]).date()
482-
< self.options.until.date]
482+
<= self.options.until.date]
483483
log.debug("Num worklogs after filterting: %d", len(issue.worklogs))
484484
self.stats = issues
485485

0 commit comments

Comments
 (0)