Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Date posted puzzlement
I can only reproduce this on localhost…, and only one install (both tested installs running 4.9.2-dev and PHP 8.5.x)
- start an article, set some fields (status, category, section, a couple of CF)
- save, status is “live”
- Above the body field, notice the date: it has both the posted dated and the last modified datestamp.
Note: at this point the article has been saved only once
Oddities
- a modified datestamp is inserted even as the article has only be saved once.
- the modified datestamp is 2 minutes later then the posted datestamp – Posted: 2026-06-15 17:18:22, modified 2026-06-15 17:20:16 as given in the datebase.
TXP4.9.2-dev localhost, PHP 8.5.7, MySql 8.4.7
Server time zone: Asia/Tokyo
Server local time: 2026-06-15 17:57:48
Daylight Saving Time enabled?: 0
Automatically adjust Daylight Saving Time setting?: 0
Time zone (GMT offset in seconds): Asia/Tokyo (32400)
MySQL: 8.4.7 (MySQL Community Server - GPL)
Database server time: 2026-06-15 17:57:48
Database server time offset: 0 s
Database server time zone: SYSTEM
Database session time zone: SYSTEM
In low-power mode.
Sand space – admin theme for Textpattern
phiw13 on Codeberg
Offline
Re: Date posted puzzlement
This might be related to what Oleg discovered. Maybe the issue is that sometimes records are getting a Modified datestamp from the get-go. But it’s puzzling that you’re not seeing any of those other date issues.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
Re: Date posted puzzlement
Bloke wrote #343369:
This might be related to “what Oleg discovered” […]
Interesting, I’ll test that tomorrow when sitting in front of the local server machine. Will report back.
And no otherwise I do not see other issues with posted, modified, expired dates – I’ve checked the date fields in the DB, the various place where a date is displayed (article Write or List panel, txp:posted format="xxx" and friends).
In low-power mode.
Sand space – admin theme for Textpattern
phiw13 on Codeberg
Offline
Pages: 1