<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Making time periods readable</title>
	<atom:link href="http://aidanlister.com/2004/04/making-time-periods-readable/feed/" rel="self" type="application/rss+xml" />
	<link>http://aidanlister.com/2004/04/making-time-periods-readable/</link>
	<description>Code is poetry</description>
	<lastBuildDate>Wed, 28 Jul 2010 23:10:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: jm</title>
		<link>http://aidanlister.com/2004/04/making-time-periods-readable/comment-page-1/#comment-1413</link>
		<dc:creator>jm</dc:creator>
		<pubDate>Tue, 20 Apr 2010 18:09:43 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=47#comment-1413</guid>
		<description>I guess you cant post PHP within PHP tags...

echo time_duration(123, &#039;yMd&#039;);
echo time_duration(0);</description>
		<content:encoded><![CDATA[<p>I guess you cant post PHP within PHP tags&#8230;</p>
<p>echo time_duration(123, &#8216;yMd&#8217;);<br />
echo time_duration(0);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jm</title>
		<link>http://aidanlister.com/2004/04/making-time-periods-readable/comment-page-1/#comment-1412</link>
		<dc:creator>jm</dc:creator>
		<pubDate>Tue, 20 Apr 2010 18:09:08 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=47#comment-1412</guid>
		<description>Just wanted to point out a few bugs I found while working through this script.


</description>
		<content:encoded><![CDATA[<p>Just wanted to point out a few bugs I found while working through this script.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nbanba</title>
		<link>http://aidanlister.com/2004/04/making-time-periods-readable/comment-page-1/#comment-1402</link>
		<dc:creator>nbanba</dc:creator>
		<pubDate>Thu, 01 Apr 2010 19:05:46 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=47#comment-1402</guid>
		<description>Thanks! Very useful.</description>
		<content:encoded><![CDATA[<p>Thanks! Very useful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aidan Lister</title>
		<link>http://aidanlister.com/2004/04/making-time-periods-readable/comment-page-1/#comment-1356</link>
		<dc:creator>Aidan Lister</dc:creator>
		<pubDate>Fri, 05 Feb 2010 13:35:51 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=47#comment-1356</guid>
		<description>toto, both years and months use the astronomical mean. Do you really think your visitors care if you&#039;re half a day off on a date that&#039;s a year away?</description>
		<content:encoded><![CDATA[<p>toto, both years and months use the astronomical mean. Do you really think your visitors care if you&#8217;re half a day off on a date that&#8217;s a year away?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: toto</title>
		<link>http://aidanlister.com/2004/04/making-time-periods-readable/comment-page-1/#comment-1355</link>
		<dc:creator>toto</dc:creator>
		<pubDate>Fri, 05 Feb 2010 07:18:15 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=47#comment-1355</guid>
		<description>totally fucked, years 366 / 365 months 28/29/30/31</description>
		<content:encoded><![CDATA[<p>totally fucked, years 366 / 365 months 28/29/30/31</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ABDU_GO</title>
		<link>http://aidanlister.com/2004/04/making-time-periods-readable/comment-page-1/#comment-1351</link>
		<dc:creator>ABDU_GO</dc:creator>
		<pubDate>Fri, 29 Jan 2010 11:41:59 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=47#comment-1351</guid>
		<description>GooD done!</description>
		<content:encoded><![CDATA[<p>GooD done!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: VJC</title>
		<link>http://aidanlister.com/2004/04/making-time-periods-readable/comment-page-1/#comment-1338</link>
		<dc:creator>VJC</dc:creator>
		<pubDate>Wed, 13 Jan 2010 13:58:35 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=47#comment-1338</guid>
		<description>This is a great function. The best one i&#039;ve seen after days of googling the web. Just be aware that the function will break if the time duration is zero. To work for 0 time duration just add:

if (empty($segments)){
    $segments[&#039;seconds&#039;] = 0;
}

before you build the string</description>
		<content:encoded><![CDATA[<p>This is a great function. The best one i&#8217;ve seen after days of googling the web. Just be aware that the function will break if the time duration is zero. To work for 0 time duration just add:</p>
<p>if (empty($segments)){<br />
    $segments['seconds'] = 0;<br />
}</p>
<p>before you build the string</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ro1960</title>
		<link>http://aidanlister.com/2004/04/making-time-periods-readable/comment-page-1/#comment-1324</link>
		<dc:creator>ro1960</dc:creator>
		<pubDate>Wed, 30 Dec 2009 12:34:35 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=47#comment-1324</guid>
		<description>This is great! Exactly what I was looking for. I even was able to modify the days value to 7 hours (work time of the day) to adapt it to my use. However I can&#039;t get the $zero = true to work. It still shows 0 days...
And last, how can I get the names to be French? Example: &quot;days: display as &quot;jours&quot;. Thanks!</description>
		<content:encoded><![CDATA[<p>This is great! Exactly what I was looking for. I even was able to modify the days value to 7 hours (work time of the day) to adapt it to my use. However I can&#8217;t get the $zero = true to work. It still shows 0 days&#8230;<br />
And last, how can I get the names to be French? Example: &#8220;days: display as &#8220;jours&#8221;. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: webmasterdubai</title>
		<link>http://aidanlister.com/2004/04/making-time-periods-readable/comment-page-1/#comment-1318</link>
		<dc:creator>webmasterdubai</dc:creator>
		<pubDate>Mon, 21 Dec 2009 07:29:13 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=47#comment-1318</guid>
		<description>really helpful i like it.</description>
		<content:encoded><![CDATA[<p>really helpful i like it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ritwick</title>
		<link>http://aidanlister.com/2004/04/making-time-periods-readable/comment-page-1/#comment-1266</link>
		<dc:creator>Ritwick</dc:creator>
		<pubDate>Thu, 15 Oct 2009 22:26:43 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=47#comment-1266</guid>
		<description>Nice piece of work</description>
		<content:encoded><![CDATA[<p>Nice piece of work</p>
]]></content:encoded>
	</item>
</channel>
</rss>
