Skip to content

Commit

Permalink
use utils date formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
macpd committed Jun 21, 2024
1 parent 6024c10 commit f17f982
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tiktok_api_helper/cli_data_acquisition.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,8 +326,8 @@ def run_scheduled(
start_date, end_date = make_crawl_span(num_days_crawl_span=num_days_crawl_span, num_days_lag=num_days_lag)
logging.info("Starting scheduled run. start_date: %s, end_date: %s", start_date, end_date)
execution_start_time = pendulum.now()
run(start_date_str=start_date.strftime(utils.TIKTOK_DATE_FORMAT),
end_date_str=end_date.strftime(utils.TIKTOK_DATE_FORMAT),
run(start_date_str=utils.date_to_tiktok_str_format(start_date),
end_date_str=utils.date_to_tiktok_str_format(end_date),
db_file=db_file,
db_url=db_url,
crawl_tag=crawl_tag,
Expand Down

0 comments on commit f17f982

Please sign in to comment.