Has anyone else gotten this effect?
I post to my blog with the TextMate blogging bundle (thanks, Brad!), and if I go to re-edit a post, the timestamp changes. As far as I can tell, that's related to me getting back a timestamp in the TextMate document that says something like:
Date: 2008-01-19 16:32:44 -0500
...which is roughly 9:30pm EST, according to my blog. If I re-publish that post from TextMate with that datestamp in there, it suddenly then becomes:
Date: 2008-01-19 11:32:44 -0500
...which shows up as roughtly 4:30pm. If I edit a post multiple times, it keeps subtracting 5 hours, to the point that I can even end up at the point of it having been posted the previous day.
Do I have something set up wrong here, or is there a workaround?
Thanks for any help!
Cheers, MB
On 1/19/08 11:12 PM, "Mark N. Boszko" mark@steamermedia.com wrote:
Has anyone else gotten this effect? ... ...which shows up as roughtly 4:30pm. If I edit a post multiple times, it keeps subtracting 5 hours ...
Yes, I've also had that effect. I've not looked into it yet, because if I manually remodify the timestamp and repost it gets corrected. GMT is 5 hours behind EST, so maybe the blog bundle is overcorrecting the time stamp on re-edits? I'm in the central US zone and get 6 hours difference on my re-posts. I'm using the html blog bundle.
Best wishes David
³It will be well for us not to assume an attitude of condescension towards the crowd. Because in the matter of looking without seeing we are all about equal. We all go to and fro in a state of the observing faculties which somewhat resembles coma. We are all content to look and not see.² -- Arnold Bennett in ³The Author¹s Craft² (1914)
dsnyder@txstate.edu
I've had the same problem. I'm using WP 2.3.2, Ruby 1.8.5 (the Ruby that comes with Leopard), TM 1.5.7 (1455), and whatever version of the blogging bundle that comes with TM 1.5.7.
The first time I upload a post--without a Date header line--the posting time as reflected in the blog is correct, but the posting time as reflected in the Date header line of the updated TM file is 6 hours earlier. (My blog is set with a UTC offset of -6.) If I edit the post without correcting the Date line, the blog will be 6 hours too early and the updated TM file will be 12 hours too early. Each subsequent repost will move the times back a further 6 hours.
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. My current workaround is to fix the Date header before reposting.
Tested this evening, and it looks like just deleting the timestamp line from TextMate before posting the re-edit is a good workaround.
__ Mark N. Boszko Creator & Preditor, HowTube.com Chief Problem Solver, Steamer Media, LLC
Email: mark@steamermedia.com Mobile: 240-498-3311 Fax: 240-597-8111 iChat/AIM/Yahoo/Skype: mboszko Web: http://steamermedia.com
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 :)