<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ryskosn</author_name>
  <author_url>https://blog.hatena.ne.jp/ryskosn/</author_url>
  <blog_title>ryskosn log</blog_title>
  <blog_url>https://ryskosn.hatenadiary.com/</blog_url>
  <categories>
    <anon>memo</anon>
    <anon>Python</anon>
  </categories>
  <description>&gt;&gt;&gt; t = fdp.entries[0].issued &gt;&gt;&gt; t u'Thu, 07 Feb 2013 08:40:00 +0900' &gt;&gt;&gt; type(t) &lt;type 'unicode'&gt; feedparser で取ってきたエントリの日付は unicode 型だった。これの表記を変更したい。 datetime モジュールを使って変換ができると聞いてやってきました。 &gt;&gt;&gt; import datetime &gt;&gt;&gt; now = datetime.datetime.now() &gt;&gt;&gt; now datetime.datetime(2013, 2, 7, 14, 9, 28, 729000) …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fryskosn.hatenadiary.com%2Fentry%2F20130207%2F1360214937&quot; title=&quot;Python 日付文字列のフォーマットを datetime で変更する - ryskosn log&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-02-07 14:28:57</published>
  <title>Python 日付文字列のフォーマットを datetime で変更する</title>
  <type>rich</type>
  <url>https://ryskosn.hatenadiary.com/entry/20130207/1360214937</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
