Skip to content

Commit 353e6a8

Browse files
committed
change strftime place
1 parent 1b64ba8 commit 353e6a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tap_exact/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,9 @@ def get_url_params(self, context: dict | None, next_page_token: str) -> dict[str
104104
params: dict = {}
105105
if self.select:
106106
params["$select"] = self.select
107-
start_date = self.get_starting_timestamp(context).strftime("%Y-%m-%dT%H:%M:%S")
107+
start_date = self.get_starting_timestamp(context)
108108
if start_date:
109-
date_filter = f"Modified gt datetime'{start_date}'"
109+
date_filter = f"Modified gt datetime'{start_date.strftime("%Y-%m-%dT%H:%M:%S")}'"
110110
params["$filter"] = date_filter
111111
if next_page_token:
112112
params["$skiptoken"] = next_page_token

0 commit comments

Comments
 (0)