Repository navigation
fix: rename handlebar helper "date" to "formatDate" - #3873
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🟡 Tier 3 — StandardIntroduces new logic, modifies core functionality, or touches areas with non-trivial risk. Why this tier:
Additional context: grazes a critical path (2 lines in Review process: Full human review — logic, architecture, edge cases. Stats
|
Duplicate code analysisNo new duplicate code introduced by this PR. jscpd compared this branch against |
PR Review✅ No issues found. |
Deep Review✅ No critical issues found. This PR renames the Handlebars helper Reviewers (8): correctness, testing, maintainability, project-standards, api-contract, kieran-typescript, agent-native, learnings-researcher. Testing gaps:
Note: |
E2E Test Results✅ All tests passed • 485 passed • 1 skipped • 1207s
Tests ran across 4 shards in parallel. |
Summary
Renames the "date" helper introduced in #3726 to "formatDate". Should not be a breaking change since no release contains #3726.
References
Note
Low Risk
Narrow rename of an unreleased template helper with doc and test updates only; no production release reportedly shipped the old name.
Overview
Renames the Handlebars helper used in dashboard row-click and link templates from
{{date …}}to{{formatDate …}}, so templates can reference a row column nameddatevia{{date}}without invoking the formatter.The helper behavior is unchanged (
iso,seconds,ms). Call sites and docs are updated across common-utils, OpenAPI/MCP schemas, the onClick drawer help text, and the changeset; tests now useformatDateand cover the{{date}}column case (including series name templates).Reviewed by Cursor Bugbot for commit a0faa59. Bugbot is set up for automated code reviews on this repo. Configure here.