Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2012-10-09 22:20:21
- gomedia
- Plugin Author
- Registered: 2008-06-01
- Posts: 1,373
Posted "since" on future articles
<txp:posted format="since" />
on an article with a posted date in the future seems to come up with a few seconds ago
.
Is that logical Captain?
It would be a lot less misleading if it returned something else (“in the future”, “not yet”, nothing?).
Could then be used to detect future-posted articles … but a <txp:if_future_article>
tag would be even better.
Offline
Re: Posted "since" on future articles
Rmmmh… cbe_if_article_released ?
Offline
#3 2012-10-10 12:20:00
- gomedia
- Plugin Author
- Registered: 2008-06-01
- Posts: 1,373
Re: Posted "since" on future articles
Thanks Claire, good to know it exists!
I still think there should be a core tag for this – txp:if_expired
exists, so why not if_posted
/ if_future
?
Offline
Re: Posted "since" on future articles
gomedia wrote:
<txp:posted format="since" />
on an article with a posted date in the future seems to come up witha few seconds ago
.
Is that logical Captain?
+1. I’ve always thought this was a little confusing. I was thinking format="offset"
might be a way around it, should a tag modification be looked into, rather than format="until"
, so it covers both bases.
Offline
#5 2012-10-17 12:13:26
- gomedia
- Plugin Author
- Registered: 2008-06-01
- Posts: 1,373
Re: Posted "since" on future articles
<txp:posted format=“since” /> on an article with a posted date in the future seems to come up with “a few seconds ago”.
Any thoughts from the devs about this one?
Offline
Offline
Re: Posted "since" on future articles
Gocom wrote:
Acknowledged. The “since” format as a whole is bit of a bag of rotten tomatoes. It’s not properly localized, and the supported spawn goes from a minute to days. Not whole a lot formats.
Thanks, Jukka — good to know.
Offline
#8 2012-10-18 05:49:37
- gomedia
- Plugin Author
- Registered: 2008-06-01
- Posts: 1,373
Re: Posted "since" on future articles
Gocom wrote:
Acknowledged …
Thanks.
Offline