<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Fuzzy DateTime v 0.6 (beta), Take 2</title>
	<atom:link href="http://www.splee.co.uk/2005/05/02/fuzzy-datetime-v-06-beta-take-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.splee.co.uk/2005/05/02/fuzzy-datetime-v-06-beta-take-2/</link>
	<description>Bring out the g33k</description>
	<pubDate>Thu, 20 Nov 2008 09:51:57 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: Splee</title>
		<link>http://www.splee.co.uk/2005/05/02/fuzzy-datetime-v-06-beta-take-2/#comment-23268</link>
		<dc:creator>Splee</dc:creator>
		<pubDate>Tue, 05 Dec 2006 14:10:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.splee.co.uk/2005/05/02/fuzzy-datetime-v-06-beta-take-2/#comment-23268</guid>
		<description>At the moment, no...  I've not even looked at the code for this for nearly a year now.  I know there were issues with WordPress' storage of datetimes and the GMT/UTC offset, but I don't know what the state of play is with them now.

You may want to add a manual 'Time Offset' option to the plugin so you can manually tell the plugin how many hours out your WordPress install is - Unfortunately I can't spare the time to look at this right now due to my workload.</description>
		<content:encoded><![CDATA[<p>At the moment, no&#8230;  I&#8217;ve not even looked at the code for this for nearly a year now.  I know there were issues with WordPress&#8217; storage of datetimes and the GMT/UTC offset, but I don&#8217;t know what the state of play is with them now.</p>
<p>You may want to add a manual &#8216;Time Offset&#8217; option to the plugin so you can manually tell the plugin how many hours out your WordPress install is - Unfortunately I can&#8217;t spare the time to look at this right now due to my workload.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Dobo</title>
		<link>http://www.splee.co.uk/2005/05/02/fuzzy-datetime-v-06-beta-take-2/#comment-22900</link>
		<dc:creator>Kevin Dobo</dc:creator>
		<pubDate>Sun, 03 Dec 2006 05:14:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.splee.co.uk/2005/05/02/fuzzy-datetime-v-06-beta-take-2/#comment-22900</guid>
		<description>I have just installed your fuzzy datestamp plugin and still have a problem with the day/date. I am 5 hours from UTC, and despite setting that in Wordpress, once it is 7 pm local time, the time stamps shift a day. New posts report as being 'yesterday'. Then at midnight all is well again.

I realize you haven't worked on this in a long time, but I really like it. Any suggestions?</description>
		<content:encoded><![CDATA[<p>I have just installed your fuzzy datestamp plugin and still have a problem with the day/date. I am 5 hours from UTC, and despite setting that in Wordpress, once it is 7 pm local time, the time stamps shift a day. New posts report as being &#8216;yesterday&#8217;. Then at midnight all is well again.</p>
<p>I realize you haven&#8217;t worked on this in a long time, but I really like it. Any suggestions?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stef</title>
		<link>http://www.splee.co.uk/2005/05/02/fuzzy-datetime-v-06-beta-take-2/#comment-6350</link>
		<dc:creator>Stef</dc:creator>
		<pubDate>Sat, 02 Sep 2006 18:27:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.splee.co.uk/2005/05/02/fuzzy-datetime-v-06-beta-take-2/#comment-6350</guid>
		<description>Hi, I'd like to suggest an update so it is easier to use the function from other plugins outside the loop:

replace:

function splees_fuzzy_datetime() {
...
...
$difference = $lm_nowStamp - $lm_postStamp;

with:

function splees_fuzzy_datetime() {
	$postStamp = strtotime(get_post_time('Y-m-d H:i:s', true));

	print ( do_splees_fuzzy_datetime($postStamp));
}

function do_splees_fuzzy_datetime($postStamp) {
	//Get the options from the db
	$lm_fdt_options = get_option('lm_fdt_options');
	$lm_time_offset = get_settings('gmt_offset') * 3600;
	
	//get the two timestamps
	$nowStamp = strtotime(gmdate('Y-m-d H:i:s', time()));
	
$difference = $lm_nowStamp - $lm_postStamp;


And replace:

print $outString;

with:

return $outString;


Now, if I have another plugin which needs to use this great one I can just call do_splees_fuzzy_datetime($myTimestamp); 

I'm using this in a modified WP-forum to show nice dates there too...

Thanks!</description>
		<content:encoded><![CDATA[<p>Hi, I&#8217;d like to suggest an update so it is easier to use the function from other plugins outside the loop:</p>
<p>replace:</p>
<p>function splees<em>fuzzy</em>datetime() {<br />
&#8230;<br />
&#8230;<br />
$difference = $lm<em>nowStamp - $lm</em>postStamp;</p>
<p>with:</p>
<p>function splees<em>fuzzy</em>datetime() {<br />
    $postStamp = strtotime(get<em>post</em>time(&#8217;Y-m-d H:i:s&#8217;, true));</p>
<pre><code>print ( do_splees_fuzzy_datetime($postStamp));
</code></pre>
<p>}</p>
<p>function do<em>splees</em>fuzzy<em>datetime($postStamp) {<br />
    //Get the options from the db<br />
    $lm</em>fdt<em>options = get</em>option(&#8217;lm<em>fdt</em>options&#8217;);<br />
    $lm<em>time</em>offset = get<em>settings(&#8217;gmt</em>offset&#8217;) * 3600;</p>
<pre><code>//get the two timestamps
$nowStamp = strtotime(gmdate('Y-m-d H:i:s', time()));
</code></pre>
<p>$difference = $lm<em>nowStamp - $lm</em>postStamp;</p>
<p>And replace:</p>
<p>print $outString;</p>
<p>with:</p>
<p>return $outString;</p>
<p>Now, if I have another plugin which needs to use this great one I can just call do<em>splees</em>fuzzy_datetime($myTimestamp); </p>
<p>I&#8217;m using this in a modified WP-forum to show nice dates there too&#8230;</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://www.splee.co.uk/2005/05/02/fuzzy-datetime-v-06-beta-take-2/#comment-1291</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Tue, 18 Apr 2006 02:57:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.splee.co.uk/2005/05/02/fuzzy-datetime-v-06-beta-take-2/#comment-1291</guid>
		<description>I love Fuzzy DateTime!  But it seems that it's not recognizing my UTC offset.  A post I made earlier today shows up as YESTERDAY when it's not even pm yet.  I have the offset adjusted correctly in my Wordpress options, so it's not a server issue (I use Wordpress 2.0.2).

Do you have any suggestions?  Thanks!</description>
		<content:encoded><![CDATA[<p>I love Fuzzy DateTime!  But it seems that it&#8217;s not recognizing my UTC offset.  A post I made earlier today shows up as YESTERDAY when it&#8217;s not even pm yet.  I have the offset adjusted correctly in my Wordpress options, so it&#8217;s not a server issue (I use Wordpress 2.0.2).</p>
<p>Do you have any suggestions?  Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WordPressin virittelyä &#187; tuomastenkanen.com</title>
		<link>http://www.splee.co.uk/2005/05/02/fuzzy-datetime-v-06-beta-take-2/#comment-1259</link>
		<dc:creator>WordPressin virittelyä &#187; tuomastenkanen.com</dc:creator>
		<pubDate>Sat, 18 Mar 2006 08:24:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.splee.co.uk/2005/05/02/fuzzy-datetime-v-06-beta-take-2/#comment-1259</guid>
		<description>[...] Fuzzy DateTime [...]</description>
		<content:encoded><![CDATA[<p>[...] Fuzzy DateTime [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MLL</title>
		<link>http://www.splee.co.uk/2005/05/02/fuzzy-datetime-v-06-beta-take-2/#comment-1213</link>
		<dc:creator>MLL</dc:creator>
		<pubDate>Wed, 18 Jan 2006 15:40:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.splee.co.uk/2005/05/02/fuzzy-datetime-v-06-beta-take-2/#comment-1213</guid>
		<description>OH, thanks for the warning. Commenting is working now, but you may mail me if you want. :)</description>
		<content:encoded><![CDATA[<p>OH, thanks for the warning. Commenting is working now, but you may mail me if you want. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MLL&#8217;s web site &#187; Splee’s Fuzzy DateTime WordPress plugin in French</title>
		<link>http://www.splee.co.uk/2005/05/02/fuzzy-datetime-v-06-beta-take-2/#comment-1212</link>
		<dc:creator>MLL&#8217;s web site &#187; Splee’s Fuzzy DateTime WordPress plugin in French</dc:creator>
		<pubDate>Wed, 18 Jan 2006 15:23:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.splee.co.uk/2005/05/02/fuzzy-datetime-v-06-beta-take-2/#comment-1212</guid>
		<description>[...] Splee’s Fuzzy DateTime WordPress plugin is cool, but even if it’s configurable, I suits only english wording, and I wanted it in french; so I adapted the code and here’s the result: [...]</description>
		<content:encoded><![CDATA[<p>[...] Splee’s Fuzzy DateTime WordPress plugin is cool, but even if it’s configurable, I suits only english wording, and I wanted it in french; so I adapted the code and here’s the result: [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Splee</title>
		<link>http://www.splee.co.uk/2005/05/02/fuzzy-datetime-v-06-beta-take-2/#comment-1211</link>
		<dc:creator>Splee</dc:creator>
		<pubDate>Tue, 17 Jan 2006 10:26:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.splee.co.uk/2005/05/02/fuzzy-datetime-v-06-beta-take-2/#comment-1211</guid>
		<description>No problem at all.

I'm having trouble posting a comment to your blog, so I'm going to email you later today with a few questions if you don't mind. :)</description>
		<content:encoded><![CDATA[<p>No problem at all.</p>
<p>I&#8217;m having trouble posting a comment to your blog, so I&#8217;m going to email you later today with a few questions if you don&#8217;t mind. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MLL</title>
		<link>http://www.splee.co.uk/2005/05/02/fuzzy-datetime-v-06-beta-take-2/#comment-1210</link>
		<dc:creator>MLL</dc:creator>
		<pubDate>Tue, 17 Jan 2006 10:08:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.splee.co.uk/2005/05/02/fuzzy-datetime-v-06-beta-take-2/#comment-1210</guid>
		<description>Oh, now I see what what trackbacks are for. :)

Sorry for the spamming.</description>
		<content:encoded><![CDATA[<p>Oh, now I see what what trackbacks are for. :)</p>
<p>Sorry for the spamming.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MLL</title>
		<link>http://www.splee.co.uk/2005/05/02/fuzzy-datetime-v-06-beta-take-2/#comment-1209</link>
		<dc:creator>MLL</dc:creator>
		<pubDate>Tue, 17 Jan 2006 10:05:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.splee.co.uk/2005/05/02/fuzzy-datetime-v-06-beta-take-2/#comment-1209</guid>
		<description>Hi there,

Thanks for your cool pugin. FYI I adapted it to a french version. It's available &lt;a href="http://mll02.free.fr/?p=15" rel="nofollow"&gt;there&lt;/a&gt;.

Cheers,

MLL</description>
		<content:encoded><![CDATA[<p>Hi there,</p>
<p>Thanks for your cool pugin. FYI I adapted it to a french version. It&#8217;s available <a href="http://mll02.free.fr/?p=15" rel="nofollow">there</a>.</p>
<p>Cheers,</p>
<p>MLL</p>
]]></content:encoded>
	</item>
</channel>
</rss>
