From 6777a87edc3708568f2716d4bc6e499611e4de03 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Wed, 30 Sep 2026 05:41:48 -0400 Subject: [PATCH 1/2] Writing skill: bare post dates now display correctly policyengine-app-v2#1237 formats post dates from their calendar fields, so a bare posts.json date shows as its own day in every time zone. Drop the advice to always add a time of day; keep dates free of offsets, which the website's data test rejects. Co-Authored-By: Claude Opus 5.5 --- skills/policyengine-writing/SKILL.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/skills/policyengine-writing/SKILL.md b/skills/policyengine-writing/SKILL.md index b8065bd..e264479 100644 --- a/skills/policyengine-writing/SKILL.md +++ b/skills/policyengine-writing/SKILL.md @@ -484,9 +484,11 @@ methodological transparency example below. Put other package versions, script pa hashes and rerun steps in footnotes, so the body states what the numbers show and the footnotes let a reader reproduce them. -**Post dates.** Write `posts.json` dates with a time of day (`"2026-09-29 08:00:00"`). The -article page and research list parse a bare date as UTC midnight and show it as the previous -day to readers in US time zones. +**Post dates.** A `posts.json` date can be a bare day (`"2026-09-29"`) or a day and time +(`"2026-09-29 08:00:00"`). The site shows either as that calendar day in every time zone +([policyengine-app-v2#1237](https://github.com/PolicyEngine/policyengine-app-v2/pull/1237)). +Leave out time zone offsets such as `Z` or `-04:00`: the research list sorts dates as text, +and a website test fails on any date with an offset. ## Grading forecasts and explaining misses From 3bdd17ed48624693d027dc0c89cabc75bd756aca Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Wed, 30 Sep 2026 05:45:01 -0400 Subject: [PATCH 2/2] Writing skill: give the reader-visible reason to avoid date offsets (review nit) Co-Authored-By: Claude Opus 5.5 --- skills/policyengine-writing/SKILL.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/skills/policyengine-writing/SKILL.md b/skills/policyengine-writing/SKILL.md index e264479..7b24988 100644 --- a/skills/policyengine-writing/SKILL.md +++ b/skills/policyengine-writing/SKILL.md @@ -487,8 +487,8 @@ footnotes let a reader reproduce them. **Post dates.** A `posts.json` date can be a bare day (`"2026-09-29"`) or a day and time (`"2026-09-29 08:00:00"`). The site shows either as that calendar day in every time zone ([policyengine-app-v2#1237](https://github.com/PolicyEngine/policyengine-app-v2/pull/1237)). -Leave out time zone offsets such as `Z` or `-04:00`: the research list sorts dates as text, -and a website test fails on any date with an offset. +Leave out time zone offsets such as `Z` or `-04:00`: a date with one shows the reader's local +day, the research list sorts dates as text, and a website test fails on it. ## Grading forecasts and explaining misses