Skip to content

Commit

Permalink
fix end_date to use 24 hour format (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
keyn4 authored Feb 8, 2024
1 parent b5fa357 commit 62e016c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tap_chargebee/streams/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def __init__(self, config, state, catalog, client):
tz = dtz.gettz(timezone)
yesterday = datetime.now(tz) - timedelta(days=1)
# set the endDate to 11:59:59 yesterday
end_date = yesterday.replace(hour=11, minute=59, second=59)
end_date = yesterday.replace(hour=23, minute=59, second=59)
# update the start_timestamp
self.START_TIMESTAP = int(end_date.timestamp())

Expand Down

0 comments on commit 62e016c

Please sign in to comment.