From 62e016c1634907daca1f16672c89f77124d1dbd6 Mon Sep 17 00:00:00 2001 From: Keyna Rafael <95432445+keyn4@users.noreply.github.com> Date: Thu, 8 Feb 2024 13:57:06 -0500 Subject: [PATCH] fix end_date to use 24 hour format (#49) --- tap_chargebee/streams/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tap_chargebee/streams/base.py b/tap_chargebee/streams/base.py index 5d13e9e..6a87130 100644 --- a/tap_chargebee/streams/base.py +++ b/tap_chargebee/streams/base.py @@ -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())