<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>a666666</author_name>
  <author_url>https://blog.hatena.ne.jp/a666666/</author_url>
  <blog_title>@kyanny's blog</blog_title>
  <blog_url>https://blog.kyanny.me/</blog_url>
  <categories>
  </categories>
  <description>任意のタイムゾーンの UTC オフセットを持つ Time インスタンスを得られる。ActiveSupport なしでもできるのを初めて知った。 irb(main):001:0&gt; t = Time.utc(2023, 1, 1, 0, 0, 0) =&gt; 2023-01-01 00:00:00 UTC irb(main):002:0&gt; t.getlocal(&quot;+09:00&quot;) =&gt; 2023-01-01 09:00:00 +0900 irb(main):003:0&gt; t.getlocal(&quot;-05:00&quot;) =&gt; 2022-12-31 19:00:00 -0500 docs.ruby-lang.o…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.kyanny.me%2Fentry%2F2022%2F12%2F26%2F122915&quot; title=&quot;Ruby: Time#getlocal(utc_offset) でタイムゾーンを変換する - @kyanny&amp;#39;s blog&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>2022-12-26 12:29:15</published>
  <title>Ruby: Time#getlocal(utc_offset) でタイムゾーンを変換する</title>
  <type>rich</type>
  <url>https://blog.kyanny.me/entry/2022/12/26/122915</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
