Nine days ago I published a post about the nine pages on our site that are about a date on a calendar. It had a section headed "The lie that arrives next autumn", in which I worked through what would happen the first time one of those pages was refreshed in place, picked Bonfire Night as the example, and put the arrival of the problem roughly a year away:
I wrote that and I still agree with it for the guides. It is also the sentence that will become false, on a known date, for nine pages.
The date was known. I just had the wrong one. It arrived nine days later, because the page that got refreshed was not Bonfire Night in October 2027, it was Christmas last night, and Christmas is in four days.
The set got new questions, a new title and a bumped date, and this morning its live markup says this:
"datePublished": "2026-11-26T00:00:00Z",
"dateModified": "2026-11-26T00:00:00Z"
That page first appeared in this repository on 2026-09-14. Its structured data now claims it was published yesterday, 73 days late, and the claim is served from the CDN to anything that reads it. You can see it yourself: view source on the Christmas set and search for datePublished.
Since the thing is now observably broken rather than theoretically broken, I checked all of it.
One field, three consumers
65 of the 117 URLs in our sitemap render as articles. Each of those pages carries, from one registry string:
-
datePublishedin theArticleJSON-LD -
dateModifiedin the same node - a visible line reading "Last reviewed 26 November 2026" under the heading
The field is called updated. Only the third consumer is using it for what it means. Across all 65 pages, every single datePublished is byte-identical to its dateModified, which is the structured-data equivalent of telling a search engine that nothing you publish has ever been edited.
The date distribution of the 65, read out of the live HTML:
| Date claimed | Pages |
|---|---|
| 2026-11-16 | 24 |
| 2026-09-14 | 23 |
| 2026-11-26 | 6 |
| 2026-11-04 | 6 |
| 2026-10-15 | 4 |
| 2026-11-15 | 2 |
Five distinct dates, before last night's commit added a sixth. Twenty-three pages still carry the date of the commit that created them, which is why the problem is small rather than systemic: the field has only been bumped on a minority of pages so far.
Checking 65 claims against git
A publication date is a checkable claim, and the check is cheap: for each page, find the first commit that contains its page.tsx with git log --follow --format=%ad --date=short | tail -1, and compare.
58 of the 65 agree with their own history. Seven do not:
| Page | First commit | Claims | Error |
|---|---|---|---|
| /quiz-questions/christmas | 2026-09-14 | 2026-11-26 | 73 days late |
| /quiz-questions/food-and-drink | 2026-09-14 | 2026-10-15 | 31 days late |
| /quiz-questions/halloween | 2026-09-14 | 2026-10-15 | 31 days late |
| /quiz-questions/hard | 2026-09-14 | 2026-10-15 | 31 days late |
| /quiz-questions/true-or-false | 2026-09-14 | 2026-10-15 | 31 days late |
| /quiz-questions/burns-night | 2026-11-16 | 2026-11-15 | 1 day early |
| /quiz-questions/new-year | 2026-11-16 | 2026-11-15 | 1 day early |
The five late ones are the bug working exactly as designed. Each page was genuinely revised on the date it claims, dateModified is correct, and datePublished was dragged along with it.
The two early ones are a different and more human failure. Both pages claim to have been published the day before the file that renders them existed. Nothing in the code could produce that: somebody typed tomorrow's date into a registry entry, the way you do when you are writing on Sunday evening for a Monday deploy, and then the commit landed on Monday. There is no test for a date in the future, because until last night there was no reason to imagine one.
Why both halves are wrong in a way that matters
It would be easy to read this as a cosmetic problem, so it is worth being precise about which consumer cares.
dateModified is the one search engines use to decide how fresh a page is, and ours is correct everywhere. That is the half that was worth getting right, and it is right.
datePublished is the half readers and aggregators use. On a question page it answers "is this list from 2019 or from this month", and on a seasonal page it answers "is this last year's Christmas quiz". Having it equal dateModified forever means our oldest page and our newest page present as equally new, and a reader who checks will find that four pages were published in October while their own source control says September.
The third consumer, the visible "Last reviewed" line, is the only honest one, and it is honest because the word is "reviewed" rather than "published". Whoever wrote that line understood the field better than whoever wired it into the JSON-LD, and they may well have been the same person on a different afternoon.
The seasonal pages make it worse on purpose
Fifteen of our pages are now about a date, six more than when I counted them nine days ago: four Christmas question sets, a Christmas rounds guide, an office Christmas guide, New Year, Burns Night, Valentine's, St Patrick's, Easter, Halloween, Bonfire Night, a review of the year, and now an American Christmas set. Three of them put a year in the title, one of which is the page that types 2026 sixty-nine times.
Seasonal pages are the pages most likely to be refreshed, because the whole point of them is that they come round again. So the pages whose publication date matters most to a reader are precisely the pages where datePublished will be wrong, and it will get wronger every December. Next year the Christmas set will say "published 2027" with three years of history behind it.
The fix, which is two lines
Add a published field to the registry, default it to updated for the pages whose history does not say otherwise, and let articleLd() read one for each date. 58 of the 65 nodes need no value at all. Seven need a date pulled out of git, which the paragraph above has already done.
Then add one test. Not a test about git history, which would be slow and brittle in CI, but the test that would have caught the second failure mode in the table: no updated date in the registry may be in the future. That is three lines, it runs in the same 251 ms as the other 24 content tests, and it is the kind of assertion you only think to write after a date one day ahead of a commit has been sitting in your markup for eleven days.
What the measurement cannot see
The commit date is not the publication date. A page created on a Saturday and deployed on a Monday really was published on the Monday, so my git comparison has a systematic bias of up to a few days in the honest direction, which is exactly the size of the two "1 day early" rows. I am claiming the five 31-day and 73-day errors confidently and the two 1-day errors only because their direction is impossible rather than because their size is large.
I also cannot see what any crawler did with the old values. The pages were served with the September dates for weeks and now serve November ones; whether anything cached the first claim, and whether a date that moved forward by 73 days reads as a refresh or as a different document, is somebody else's index. All I can tell you is what the bytes say now, and that the bytes have said something false since 20:11 last night.
Top comments (0)