<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Comments on snippet: 'python date suffixes for strftime'</title>
    <description>Snipplr comments feed</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Thu, 09 Apr 2026 07:13:38 +0000</lastBuildDate>
    <item>
      <title>ches said on 07/Aug/2007</title>
      <link>https://snipplr.com/view/3468/python-date-suffixes-for-strftime</link>
      <description>&lt;p&gt;&lt;p&gt;Handy with a Mako filter like this:&lt;/p&gt;

&lt;p&gt;`&lt;%! 
from time import strftime as time
%&gt;
It is the ${"%d of %B" | time}&lt;/p&gt;

&lt;p&gt;&lt;%doc&gt;
In [1]: print app.get('/a')
Response: 200
content-type: text/html; charset=utf-8
cache-control: no-cache
It is the 05 of August
`&lt;/p&gt;

&lt;p&gt;http://pylonshq.com/pasties/395&lt;/p&gt;
&lt;/p&gt;</description>
      <pubDate>Tue, 07 Aug 2007 18:02:57 UTC</pubDate>
      <guid>https://snipplr.com/view/3468/python-date-suffixes-for-strftime</guid>
    </item>
    <item>
      <title>ches said on 07/Aug/2007</title>
      <link>https://snipplr.com/view/3468/python-date-suffixes-for-strftime</link>
      <description>&lt;p&gt;&lt;p&gt;Argh. Code in Markdown is annoying.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&lt;%! 
from time import strftime as time
%&gt;
It is the ${"%d of %B" | time}

&lt;%doc&gt;
In [1]: print app.get('/a')
Response: 200
content-type: text/html; charset=utf-8
cache-control: no-cache
It is the 05 of August
&lt;/%doc&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;http://pylonshq.com/pasties/395&lt;/p&gt;
&lt;/p&gt;</description>
      <pubDate>Tue, 07 Aug 2007 18:06:25 UTC</pubDate>
      <guid>https://snipplr.com/view/3468/python-date-suffixes-for-strftime</guid>
    </item>
  </channel>
</rss>
