Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tap_exacttarget/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def get_last_record_value_for_table(state, table):
return None

date_obj = datetime.datetime.strptime(raw, DATE_FORMAT)
date_obj = date_obj - datetime.timedelta(days=1)
date_obj = date_obj - datetime.timedelta(hours=6)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am reluctant to make this "default" change. If we need to do this, I think the best course of action is to make this a sort of config change where users can pass in their desired time and the tap adjusts accordingly.


return date_obj.strftime(DATE_FORMAT)

Expand Down