-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
questionThe issue is a question. Please use Stack Overflow for questions.The issue is a question. Please use Stack Overflow for questions.
Description
Problem
I deployed Cube.js in the aws-us-east-2 region and noticed occasional missing data when querying with date ranges. For example, at UTC+8 time 2025-05-17 01:00:00, when requesting the past 7 days of data with the range [2025-05-10, 2025-05-16] (t-1 days), the response includes only 6 days of data, omitting 2025-05-16. However, when I run the same query at 2025-05-17 12:00:00 UTC+8, all 7 days of data appear. This inconsistency occurs frequently.
My questions:
- Should I format date ranges in UTC+0 (instead of using my local UTC+8 timezone) when making requests?
- Does the Cube.js server’s timezone configuration affect how date ranges are parsed, especially for the "latest" day of data?
I’m seeking guidance on resolving this missing latest-day data issue, as it impacts the reliability of our data queries.
Metadata
Metadata
Assignees
Labels
questionThe issue is a question. Please use Stack Overflow for questions.The issue is a question. Please use Stack Overflow for questions.