Date mismatch

46 views
Skip to first unread message

Lloyd Davis

unread,
Apr 28, 2014, 6:25:50 AM4/28/14
to smallpic...@googlegroups.com
I'm writing in the outllne named lloyd that publishes to http://lloyd.smallpict.com as a #stream

What I'm doing:
I write a new post

What I expected to happen:
The new post is published with today's date as the title.

What actually happens:
The new post is published with yesterday's date as the title.  Fargo creates the item with today's date and the title (currently Sunday, 27 April, 2014) links to http://lloyd.smallpict.com/2014/04/28

I can also see that the misalignment happened in the gap between posts on March 26th and April 10th as http://lloyd.smallpict.com/2014/03/26 is titled correctly and http://lloyd.smallpict.com/2014/04/10 is incorrect.

Any help getting back on track appreciated.

Thanks

Lloyd

Dave Winer

unread,
Apr 28, 2014, 9:19:50 AM4/28/14
to smallpic...@googlegroups.com
If we want to figure this out, we're going to have to understand what's different with your setup.

We all write new posts. So that isn't it. ;-(

What more can you say about what might be unique in your setup that's causing the software to do this (not sure what it's doing wrong, btw).

Dave




Lloyd Davis

unread,
Apr 28, 2014, 10:47:58 AM4/28/14
to smallpic...@googlegroups.com
Thanks Dave.

To narrow it down, this has only become noticeable since I tried using the stream type, if I use the blogHome type all the dates render correctly.  I have stripped out all the #directives in the outline other than #type "stream" and the issue is still there.

I'm not unique in this, but perhaps unusual in that I'm working in the UK on British Summer Time (GMT+1) -  the change to BST happened on March 30th (ie not at the same time as DST changes in the USA but in the period between posts where it "went wrong").  I'm reaching out to two other current Fargo users that I know in the UK - neither of them are using the stream type yet but I'll ask them to try it out.

Lloyd
--
Lloyd Davis
Social Artist & Master Community Builder

Dave Winer

unread,
Apr 28, 2014, 11:15:21 AM4/28/14
to smallpic...@googlegroups.com

Okay, but I'd encourage you to get specific on what you steps you took (commands, etc), and what happened. Make the bad thing happen, and carefully observe.

Lloyd Davis

unread,
Apr 29, 2014, 7:04:16 AM4/29/14
to smallpic...@googlegroups.com
OK, I've spent some more time on this, this morning and I've been taking notes here: http://lloyd.smallpict.com/2014/04/29/#a1398758200

In summary: 
I created a new post on my blog and the issue remains
I created a new blog from scratch and the issue showed up there too
I asked someone else in the UK to switch to the noteblog format and his posts for March have the right date, but posts in April are one day out.

Grateful for anyone chipping in on this.

Lloyd

Tim Sparks

unread,
Apr 29, 2014, 12:10:56 PM4/29/14
to smallpic...@googlegroups.com

One further thought,

How about this as an hypothesis...

The code that renders the title uses midnight of the day the post was created.  After 30th March when daylight saving kicked in, midnight local time in the UK would convert to midnight-1 in GMT i.e. the previous day.  If the code uses GMT, it would render the title to appear incorrectly.

Regards,

Tim

On 29 Apr 2014 13:35, "Tim Sparks" <tim.s...@gmail.com> wrote:
Lloyd - surely too much of a coincidence that British Summer Time started on the 30th March and your creation dates etc. are stored as GMT?

Looking at the OPML file https://dl.dropboxusercontent.com/s/kivru2h5eo951kb/lloyd.opml), the date/times are showing the creation dates for your latest post as the 29th April, but as you say, the rendered linkblog shows as 28th April

		<outline text="2014" created="Sun, 23 Feb 2014 10:46:57 GMT" name="2014" icon="calendar">
			<outline text="April 2014" created="Thu, 10 Apr 2014 16:16:48 GMT" name="04">
				<outline text="April 29" created="Tue, 29 Apr 2014 07:56:40 GMT" name="29">

I guess this may be down to how the publisher calculates the date to show as the titles when it generates the daily stream type pages (http://lloyd.smallpict.com/2014/04/29/index.html for example). Sadly I haven't yet looked in detail through the publisher code so will have to leave that to others to do :-)

regards,

Tim


Frank McPherson

unread,
Apr 29, 2014, 10:21:45 AM4/29/14
to smallpic...@googlegroups.com
I don't know if this will help, but in one of my other blogs that is a blogHome type rather than stream, I have the following directive:

#siteTimeZone "-5"

I think the purpose is to set the time zone of the blog posts to Eastern Standard Time, which is where I am, regardless of where the server is located. I just did a test post at 10:13 AM Eastern and it appeared on the server one hour behind, as 9:13 AM Eastern. I changed #siteTimeZone to "-4" and the correct post time was displayed after I created a new post.

Tim Sparks

unread,
Apr 29, 2014, 8:35:08 AM4/29/14
to smallpic...@googlegroups.com
Lloyd - surely too much of a coincidence that British Summer Time started on the 30th March and your creation dates etc. are stored as GMT?

Looking at the OPML file https://dl.dropboxusercontent.com/s/kivru2h5eo951kb/lloyd.opml), the date/times are showing the creation dates for your latest post as the 29th April, but as you say, the rendered linkblog shows as 28th April

		<outline text="2014" created="Sun, 23 Feb 2014 10:46:57 GMT" name="2014" icon="calendar">
			<outline text="April 2014" created="Thu, 10 Apr 2014 16:16:48 GMT" name="04">
				<outline text="April 29" created="Tue, 29 Apr 2014 07:56:40 GMT" name="29">

I guess this may be down to how the publisher calculates the date to show as the titles when it generates the daily stream type pages (http://lloyd.smallpict.com/2014/04/29/index.html for example). Sadly I haven't yet looked in detail through the publisher code so will have to leave that to others to do :-)

regards,

Tim


On Tue, Apr 29, 2014 at 12:04 PM, Lloyd Davis <lloyd...@gmail.com> wrote:

buford koechig

unread,
May 12, 2014, 3:13:16 PM5/12/14
to smallpic...@googlegroups.com, lloyd...@gmail.com
I'm trying to see if there is anything else I can contribute to this thread since I am having the same experience.Has there been anything discovered by anyone that might not have been posted here?

My details are similar:
  • Only happens on a stream type blog
  • I get a 1 day shift in the TITLE (title day is 1 day behind post date)
  • I get a 1 hour shift in the LAST UPDATE time (1 hour behind)
  • Other types of outlines are fine

Here is my OPML

https://dl.dropboxusercontent.com/s/9qeys4s37nujgyw/cordCutterCheckList.opml

and here is the url to http://cordcutter.smallpict.com/2014/index.html

I have 2 stream type blogs but both created this month. Both exhibit the same behavior

Thanks,


Bill

buford koechig

unread,
May 18, 2014, 11:18:01 AM5/18/14
to smallpic...@googlegroups.com
Looks like I have found a solution to this on my outlines. I removed the #type "stream" directive then rendered all pages. I then re-added the directive and re-rendered. It fixed my exusting stream item dates and I have added new posts with all dates looking correct. Success with 2 outlines.
Reply all
Reply to author
Forward
0 new messages