<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>elm200</author_name>
  <author_url>https://blog.hatena.ne.jp/elm200/</author_url>
  <blog_title>elm200 の日記(旧はてなダイアリー)</blog_title>
  <blog_url>https://elm200.hatenadiary.org/</blog_url>
  <categories>
    <anon>javascript</anon>
    <anon>ruby on rails</anon>
  </categories>
  <description>Rails 2.0 では対応されたかもしれないが、Rails 1.2 の時代には Time クラスに to_json メソッドが正しく定義されていなかった。「Timeオブジェクトに対するto_jsonメソッド呼び出し」によれば、 ActiveSupport::JSON::Encoders::define_encoder(Time) do |time| time.to_i.to_json end とすればいいらしい。Time.to_i は Time オブジェクトは時刻を起算時からの経過秒数で保持しています。起算時は協定世界時(UTC、もしくはその旧称から GMT とも表記されます) の 1970…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Felm200.hatenadiary.org%2Fentry%2F20080217%2F1203222608&quot; title=&quot; JSON の日付型 - elm200 の日記(旧はてなダイアリー)&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>2008-02-17 13:30:08</published>
  <title> JSON の日付型</title>
  <type>rich</type>
  <url>https://elm200.hatenadiary.org/entry/20080217/1203222608</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
