<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sada4</author_name>
  <author_url>https://blog.hatena.ne.jp/sada4/</author_url>
  <blog_title>sada4's diary</blog_title>
  <blog_url>https://sada4.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>Rubyのタイマ表示について調べました。 二つのTimeオブジェクトのインスタンスの差分から秒数を求め、その秒数から時分秒を計算して表示していましたが、RubyではTimeオブジェクトに差分の秒数を足せば経過時間を表示できるようでした。 以下に記事がありました。 Ruby - 秒を時間表示へ変換する - Qiita Ruby - 秒を時間表示へ変換する - Qiita 上記を参考にして書いてみたのが以下になります。 https://gist.github.com/8e20ac3907b61847f91d.git Time#strftimeメソッドで年月日の差分を表示する方法は、分かりませんでし…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsada4.hateblo.jp%2Fentry%2F2015%2F03%2F10%2F131327&quot; title=&quot;Rubyのタイマ表示について - sada4&amp;#39;s diary&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>2015-03-10 13:13:27</published>
  <title>Rubyのタイマ表示について</title>
  <type>rich</type>
  <url>https://sada4.hateblo.jp/entry/2015/03/10/131327</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
