{"id":421,"date":"2004-05-09T20:56:41","date_gmt":"2004-05-09T20:56:41","guid":{"rendered":"tag:owlfish.com,2004:colinweblog.20040509205641"},"modified":"2004-05-10T01:58:55","modified_gmt":"2004-05-10T01:58:55","slug":"09052004","status":"publish","type":"post","link":"https:\/\/www.owlfish.com\/weblog\/2004\/05\/09052004\/","title":{"rendered":"TimeFormat Python Library"},"content":{"rendered":"<p>I&#8217;ve finally fixed the way dates and times are displayed in my weblog.  Moving from Debian to Fedora had changed the behaviour of strftime() so that I could no longer coax it into producing single digit hours and dates.  The solution is a Python implementation of strftime that takes an extended format allowing me to control the padding.  <\/p>\n<p>In case this is useful for anyone else I&#8217;ve released it as a <a href=\"http:\/\/www.owlfish.com\/software\/TimeFormat\/index.html\">standalone library<\/a>, and will bundle it into the next version of PubTal.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve finally fixed the way dates and times are displayed in my weblog. Moving from Debian to Fedora had changed the behaviour of strftime() so that I could no longer coax it into producing single digit hours and dates. The solution is a Python implementation of strftime that takes an extended format allowing me to [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.owlfish.com\/weblog\/wp-json\/wp\/v2\/posts\/421"}],"collection":[{"href":"https:\/\/www.owlfish.com\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.owlfish.com\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.owlfish.com\/weblog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.owlfish.com\/weblog\/wp-json\/wp\/v2\/comments?post=421"}],"version-history":[{"count":0,"href":"https:\/\/www.owlfish.com\/weblog\/wp-json\/wp\/v2\/posts\/421\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.owlfish.com\/weblog\/wp-json\/wp\/v2\/media?parent=421"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.owlfish.com\/weblog\/wp-json\/wp\/v2\/categories?post=421"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.owlfish.com\/weblog\/wp-json\/wp\/v2\/tags?post=421"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}