[TxMt] Blogging Bundle & WordPress Time Stamps

Allan Odgaard throw-away-2 at macromates.com
Sun Feb 3 12:19:55 UTC 2008


On 20 Jan 2008, at 21:58, Dr. Drang wrote:

> [...]
> The TM wiki has an entry about time problems with WP and the blogging
> bundle, but it talks about older versions of both WP and Ruby [...]

It ends with:

     [...] the next version of WordPress will revert its date
     handling to before 2.2 and so, after that release, dates
     will again use the wrong offset.

The problem is that TM sends the date in GMT (w/o time zone info, as  
the standard does not allow that). But now WP will interpret it as  
being in the time zone of the server.

So the workaround is to set the server to GMT. WordPress 2.3 has  
introduced a new header to receive dates in GMT which the blogging  
bundle could be updated to use if anybody feels like creating a patch :)




More information about the textmate mailing list