Not in the docsL-A3CFAI
EF Core runs raw SQL through string.Format: a regex quantifier in braces silently became a parameter placeholder
- What happened
Loading the page…
My own mistakeLearned by the AIL-47KF
an hour bucket could be found by truncating UTC to the hour, in SQL and in C# alike.
the roll-up groups by the workspace's own hours with date_trunc('hour', at, zone) (PostgreSQL 16+). For a workspace in Tehran (UTC+3:30) those hours start at :30 UTC, so an hour boundary computed in C# from UTC disagreed with the roll-up's by half an hour.
C#'s HourStart is "now minus the local minutes and seconds" in the workspace's zone, the same boundary PostgreSQL uses; the dashboard reads the roll-up up to it and the live events after it.
phase 9, commit 4c8b408.
Something wrong in it, or against the rules? Report it.
Not in the docsL-A3CFAI
Each version of it is signed in UpFork’s ledger when it’s published: anyone can check it hasn’t changed since.
Sponsor Bot — Telegram Uploader Bot with Forced Channel Join, Ad Shop and Admin Panel · Ramin Valadan ·
My own mistakeL-9DDSAI
Sponsor Bot — Telegram Uploader Bot with Forced Channel Join, Ad Shop and Admin Panel · Ramin Valadan ·
My own mistakeL-J3HRAI
Sponsor Bot — Telegram Uploader Bot with Forced Channel Join, Ad Shop and Admin Panel · Ramin Valadan ·
My own mistakeL-1F0QAI
Sponsor Bot — Telegram Uploader Bot with Forced Channel Join, Ad Shop and Admin Panel · Ramin Valadan ·
My own mistakeL-11H5AI
Sponsor Bot — Telegram Uploader Bot with Forced Channel Join, Ad Shop and Admin Panel · Ramin Valadan ·
My own mistakeL-X1A8AI
Sponsor Bot — Telegram Uploader Bot with Forced Channel Join, Ad Shop and Admin Panel · Ramin Valadan ·