<@U04S8PLJWMT> I’m seeing a timezone issue with th...
# ask-ai
a
@kapa.ai I’m seeing a timezone issue with the Facebook Marketing connector: • Connector: Facebook Marketing (v current version), using cloud • FB Ad Account: JP ad account (UTC + 9) • Breakdown:
hourly_stats_aggregated_by_advertiser_time_zone
• Problem: When Japan rolls over to a new day (00:00 JST), the sync that runs shortly after midnight pulls data only up to the previous UTC day. As a result, the first several JP hours (00-02 JST) are missing until 00 UTC next day, even with
time_increment = 1
. I suspect the slice is built in UTC, so date range don’t include the new JP calendar day. Could someone clarify: 1. Is there a recommended way to force the slice to start at 00:00 JST without relying on a look-back window? 2. Any known limitations with hourly stats that we should plan around?
k
Based on the available knowledge sources, here’s what can be clarified regarding your timezone issue with the Facebook Marketing connector: 1. Forcing Slices to Start at 00:00 JST (Japan Standard Time): - The current Airbyte Facebook Marketing connector does not provide a built-in way to specify a timezone for the start of the slice in incremental syncs. The connector and its configuration (including
start_date
and
end_date
) operate in UTC, and there is no documented support for specifying a different timezone for slicing or for the
time_increment
parameter. This is a known limitation in Airbyte’s connector builder and in several connectors, as highlighted in user requests for timezone support in incremental syncs, which have not yet been implemented or released as features. The only workaround mentioned in the community is to use a look-back window or adjust the
start_date
manually, but there is no official support for timezone-aware slicing at this time [add support for specifying timezone for Start Datetime and End Datetime in Incremental Sync](https://github.com/airbytehq/airbyte/issues/38081). 2. Known Limitations with Hourly Stats: - When using breakdowns like
hourly_stats_aggregated_by_advertiser_time_zone
, the Facebook API will aggregate data by the advertiser’s timezone, but the Airbyte connector’s sync logic and slicing are still based on UTC. This means that if your sync runs shortly after midnight JST, it will only pull data up to the previous UTC day, causing the first several hours of the new JP day to be missing until the next UTC day. This is a direct result of the connector’s UTC-based slicing logic and is a known limitation. There is no documented workaround other than using a look-back window to ensure late-arriving data is eventually captured, or manually adjusting sync times to better align with the JP timezone [add support for specifying timezone for Start Datetime and End Datetime in Incremental Sync](https://github.com/airbytehq/airbyte/issues/38081). Summary: - There is currently no supported way to force the slice to start at 00:00 JST without a look-back window or manual intervention. - The connector slices and syncs data in UTC, which can cause missing data for the first hours of a new day in non-UTC timezones when using hourly breakdowns. - This is a known limitation, and you should plan for it by using a look-back window or adjusting your sync schedule. If you need more granular control over timezones, you may need to implement custom logic outside of Airbyte or monitor for updates to the connector that add timezone support.