@@ -2233,7 +2233,7 @@ def retrieve_discussion_summaries(args, repository, since=None):
22332233 if updated_at and (newest_seen is None or updated_at > newest_seen ):
22342234 newest_seen = updated_at
22352235
2236- if since and updated_at and updated_at < since :
2236+ if since and updated_at and updated_at <= since :
22372237 stop = True
22382238 break
22392239
@@ -2654,7 +2654,7 @@ def track_newest_pull_update(pull):
26542654 newest_pull_update = updated_at
26552655
26562656 def pull_is_due_for_repository_checkpoint (pull ):
2657- return not repository_since or pull ["updated_at" ] >= repository_since
2657+ return not repository_since or pull ["updated_at" ] > repository_since
26582658
26592659 if not args .include_pull_details :
26602660 pull_states = ["open" , "closed" ]
@@ -2664,18 +2664,18 @@ def pull_is_due_for_repository_checkpoint(pull):
26642664 args , _pulls_template , query_args = query_args , lazy = True
26652665 ):
26662666 track_newest_pull_update (pull )
2667- if pulls_since and pull ["updated_at" ] < pulls_since :
2667+ if pulls_since and pull ["updated_at" ] <= pulls_since :
26682668 break
2669- if not pulls_since or pull ["updated_at" ] >= pulls_since :
2669+ if not pulls_since or pull ["updated_at" ] > pulls_since :
26702670 pulls [pull ["number" ]] = pull
26712671 else :
26722672 for pull in retrieve_data (
26732673 args , _pulls_template , query_args = query_args , lazy = True
26742674 ):
26752675 track_newest_pull_update (pull )
2676- if pulls_since and pull ["updated_at" ] < pulls_since :
2676+ if pulls_since and pull ["updated_at" ] <= pulls_since :
26772677 break
2678- if not pulls_since or pull ["updated_at" ] >= pulls_since :
2678+ if not pulls_since or pull ["updated_at" ] > pulls_since :
26792679 if pull_is_due_for_repository_checkpoint (pull ):
26802680 pulls [pull ["number" ]] = retrieve_data (
26812681 args ,
0 commit comments