<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>utisam</author_name>
  <author_url>https://blog.hatena.ne.jp/utisam/</author_url>
  <blog_title>utisamのブログ</blog_title>
  <blog_url>https://utisam.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>DjangoでDateTimeFieldを使っていたら， なぜか管理画面で日付が更新ボタンを押す度に変わる． それも±9:00で． modelのメソッドでバグ出しちゃったかなーと思ったけどそうでもなさそう． 結局settings.pyで TIME_ZONE = 'Asia/Tokyo' としてたせいでした． 'Japan'に変えたら治った． なんで再現性のないバグになっちゃうんだろう…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Futisam.hateblo.jp%2Fentry%2F2013%2F01%2F02%2F155155&quot; title=&quot;Djangoで更新する度に日付が変わるバグに遭遇した - utisamのブログ&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-01-02 15:51:55</published>
  <title>Djangoで更新する度に日付が変わるバグに遭遇した</title>
  <type>rich</type>
  <url>https://utisam.hateblo.jp/entry/2013/01/02/155155</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
