You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Request]: Store intervals: a step grid in a local time zone (or with an offset) #945
Observed while implementing #929 (PR #943). intervals.step aligns bounds to whole multiples counted from 1970-01-01T00:00:00Z, in UTC. step: PT1H is therefore on the hour in UTC and in whole-hour zones, but a half-hour zone (for example UTC+05:30) never gets local on-the-hour slots. A daily grid (P1D) is UTC midnight, and nothing follows daylight saving.
Today the workaround is to convert on the client or use integer bounds (minutes in local time).
Possible shapes: an origin instant for the grid, which is cheap and exact but fixed-offset only, or a timeZone (IANA). The time zone is not exact arithmetic: it needs tz data in the write path and has to handle DST gaps and overlaps.
Activity
feat(store)!: named readers mounts (#944) and a step grid with an ori…