<?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: Formatting dates with Django</title>
	<atom:link href="http://www.magpiebrain.com/2005/08/21/formatting-dates-with-django/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.magpiebrain.com/2005/08/21/formatting-dates-with-django/</link>
	<description>The blog of Sam Newman</description>
	<lastBuildDate>Mon, 19 Jul 2010 18:05:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Lee Caine</title>
		<link>http://www.magpiebrain.com/2005/08/21/formatting-dates-with-django/comment-page-1/#comment-9196</link>
		<dc:creator>Lee Caine</dc:creator>
		<pubDate>Sun, 21 Feb 2010 12:29:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.magpiebrain.com/2005/08/21/formatting-dates-with-django/#comment-9196</guid>
		<description>I know it&#039;s a little late, but I came across this page searching for Template date filtering in Django and thought I would help others that are searching the same..

You can just escape the T like..

{{ someDate&#124;date:&#039;Ymd\TGi&#039; }}</description>
		<content:encoded><![CDATA[<p>I know it&#8217;s a little late, but I came across this page searching for Template date filtering in Django and thought I would help others that are searching the same..</p>
<p>You can just escape the T like..</p>
<p>{{ someDate|date:&#8217;Ymd\TGi&#8217; }}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ray</title>
		<link>http://www.magpiebrain.com/2005/08/21/formatting-dates-with-django/comment-page-1/#comment-2720</link>
		<dc:creator>Ray</dc:creator>
		<pubDate>Wed, 14 Jun 2006 18:06:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.magpiebrain.com/2005/08/21/formatting-dates-with-django/#comment-2720</guid>
		<description>I suppose a lot of designers who&#039;ve dabbled in PHP will be familiar with that formatting and it&#039;ll be easier for them. OTOH it _is_ a bit of a schlepp to be using the two systems side-by-side.

Just a minor note regarding your code example above: In Python&#039;s strftime, minutes have the %M directive, not %m (which is for months). Sure it&#039;s just a typo but beginners may be confused.</description>
		<content:encoded><![CDATA[<p>I suppose a lot of designers who&#8217;ve dabbled in PHP will be familiar with that formatting and it&#8217;ll be easier for them. OTOH it _is_ a bit of a schlepp to be using the two systems side-by-side.</p>
<p>Just a minor note regarding your code example above: In Python&#8217;s strftime, minutes have the %M directive, not %m (which is for months). Sure it&#8217;s just a typo but beginners may be confused.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam Newman</title>
		<link>http://www.magpiebrain.com/2005/08/21/formatting-dates-with-django/comment-page-1/#comment-2719</link>
		<dc:creator>Sam Newman</dc:creator>
		<pubDate>Mon, 22 Aug 2005 14:50:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.magpiebrain.com/2005/08/21/formatting-dates-with-django/#comment-2719</guid>
		<description>Don&#039;t worry Stephen - I already swear by Joda for time and date handling in Java :-)</description>
		<content:encoded><![CDATA[<p>Don&#8217;t worry Stephen &#8211; I already swear by Joda for time and date handling in Java <img src='http://www.magpiebrain.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen Colebourne</title>
		<link>http://www.magpiebrain.com/2005/08/21/formatting-dates-with-django/comment-page-1/#comment-2718</link>
		<dc:creator>Stephen Colebourne</dc:creator>
		<pubDate>Mon, 22 Aug 2005 14:08:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.magpiebrain.com/2005/08/21/formatting-dates-with-django/#comment-2718</guid>
		<description>Yes, these are two different forms of ISO8601 (basic and extended)

PS. if you&#039;re interested in Java you may like http://joda-time.sourceforge.net</description>
		<content:encoded><![CDATA[<p>Yes, these are two different forms of ISO8601 (basic and extended)</p>
<p>PS. if you&#8217;re interested in Java you may like <a href="http://joda-time.sourceforge.net" rel="nofollow">http://joda-time.sourceforge.net</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam Newman</title>
		<link>http://www.magpiebrain.com/2005/08/21/formatting-dates-with-django/comment-page-1/#comment-2717</link>
		<dc:creator>Sam Newman</dc:creator>
		<pubDate>Sun, 21 Aug 2005 22:29:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.magpiebrain.com/2005/08/21/formatting-dates-with-django/#comment-2717</guid>
		<description>Thanks Manuzhai - I tried the c format but of course it didn&#039;t work. You should submit a patch!

As for the date thing, I was basing my format on the dates shown in the &quot;hCalendar&quot;:http://microformats.org/wiki/hcalendar spec which claim to be ISO8601 (of course it&#039;s possible there is some flexibility in the spec).</description>
		<content:encoded><![CDATA[<p>Thanks Manuzhai &#8211; I tried the c format but of course it didn&#8217;t work. You should submit a patch!</p>
<p>As for the date thing, I was basing my format on the dates shown in the &#8220;hCalendar&#8221;:http://microformats.org/wiki/hcalendar spec which claim to be ISO8601 (of course it&#8217;s possible there is some flexibility in the spec).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Manuzhai</title>
		<link>http://www.magpiebrain.com/2005/08/21/formatting-dates-with-django/comment-page-1/#comment-2716</link>
		<dc:creator>Manuzhai</dc:creator>
		<pubDate>Sun, 21 Aug 2005 20:47:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.magpiebrain.com/2005/08/21/formatting-dates-with-django/#comment-2716</guid>
		<description>First of all, I think ISO8601 is supposed to look like this: 2005-08-21T21:50Z.

Second of all, I was the one who sent in the patch to PHP that added the &#039;c&#039; parameter to it&#039;s date() function; it just gets a ISO8601 date. It should probably be added to Django as well.</description>
		<content:encoded><![CDATA[<p>First of all, I think ISO8601 is supposed to look like this: 2005-08-21T21:50Z.</p>
<p>Second of all, I was the one who sent in the patch to PHP that added the &#8216;c&#8217; parameter to it&#8217;s date() function; it just gets a ISO8601 date. It should probably be added to Django as well.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
