<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>fgshun</author_name>
  <author_url>https://blog.hatena.ne.jp/fgshun/</author_url>
  <blog_title>銀月の符号</blog_title>
  <blog_url>https://fgshun.hatenablog.com/</blog_url>
  <categories>
    <anon>Python</anon>
  </categories>
  <description>Python レシピ「198:文字列を日時に変換する」を編集。ここで Ruby が 'H21.01.29 0:21' のような和暦を読み込めることを知る。 irb(main):001:0&gt; require &quot;date&quot; =&gt; true irb(main):002:0&gt; DateTime.parse('H21.01.29 0:21').to_s =&gt; &quot;2009-01-29T00:21:00+00:00&quot; これは Python で再現せねば、と思った。今思い返すと理由は不明。なんで夢中になってたんだろう？ ともかく、30分ほどでそれっぽいコードが完成。 re.VERBOSE をつかった正規表現は…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffgshun.hatenablog.com%2Fentry%2F20090128%2F1233157385&quot; title=&quot; レシピ編集、文字列を日時に変換する - 銀月の符号&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>2009-01-28 00:43:05</published>
  <title> レシピ編集、文字列を日時に変換する</title>
  <type>rich</type>
  <url>https://fgshun.hatenablog.com/entry/20090128/1233157385</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
