<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>thr3a</author_name>
  <author_url>https://blog.hatena.ne.jp/thr3a/</author_url>
  <blog_title>動かざることバグの如し</blog_title>
  <blog_url>https://blog.turai.work/</blog_url>
  <categories>
    <anon>rails</anon>
  </categories>
  <description>2019年2月15日追記 釘を差された RailsのTime::DATE_FORMATS[:default]は変更しないほうがいい - Qiita 要はデフォルトをいじるな、と。確かに「なるほど」以上の感想が出なかったので Time::DATE_FORMATS[:custom] = '%Y/%m/%d %A' Time.zone.now.to_s(:custom) # =&gt; &quot;2006/01/02 Monday&quot; のように独自フォーマットを作って生成したほうがよい。 普通だと p = post.published_on.strftime(&quot;%Y年%m月%d日 %H時%M分&quot;) だがあのRail…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.turai.work%2Fentry%2F20151021%2F1445400833&quot; title=&quot;Railsで表示する日付のフォーマットを変える - 動かざることバグの如し&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-10-21 13:13:53</published>
  <title>Railsで表示する日付のフォーマットを変える</title>
  <type>rich</type>
  <url>https://blog.turai.work/entry/20151021/1445400833</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
