Expand description
Time-range parsing and period bucketing for analytics queries.
Parses the --since / --until flag forms (relative durations like 24h,
calendar dates, and RFC-3339 timestamps) into a UTC range via
parse_time_range, and snaps timestamps to hour/day/week/month boundaries
with truncate_to_period for trend grouping.
Copyright (c) systemprompt.io — Business Source License 1.1. See https://systemprompt.io for licensing details.