Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-09-03 17:28:47

assaultonaudio
Member
From: Montreal
Registered: 2009-09-03
Posts: 11

posted time displays incorrectly

Hi everyone. Hopefully someone can shed some light on this interesting problem.

When I try to output articles showing posted date, and that posted date is after 19:00, then the date that is displayed in my articles list is the date of the next day.

ie:

Posted date is set to 2009/09/03 at 19:00:00.

When article is output on my page, i have it set to only display mm/dd/yyyy. The date that is in turn posted with my article is 09/04/2009.

I hope this makes sense to someone besides me.

The output code is :

<code><txp:article_custom section=“calendar” sort=“Posted asc” time=“future”>

<h1 class=“entry-title”><txp:title /></h1>

<txp:posted format=”%m/%d/%Y” gmt=“1” />

<txp:body />

</txp:article></code>

Offline

#2 2009-09-03 18:25:45

assaultonaudio
Member
From: Montreal
Registered: 2009-09-03
Posts: 11

Re: posted time displays incorrectly

[Solved] GMT=“1” was pushing my posted dates forward.

Offline

Board footer

Powered by FluxBB