<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ofsilvers</author_name>
  <author_url>https://blog.hatena.ne.jp/ofsilvers/</author_url>
  <blog_title>しるてく</blog_title>
  <blog_url>https://ofsilvers.hateblo.jp/</blog_url>
  <categories>
    <anon>angularjs</anon>
    <anon>javascript</anon>
  </categories>
  <description>urish/angular-moment · GitHubってやつがあった。 ほかにもangular-momentjsって名前のやつがいくつかあるけど、↑のやつが一番よさそう。こんな感じで使う。 $scope.date = new Date() $scope.epoch = 1000000000000&lt;time am-time-ago=&quot;date&quot;&gt;&lt;/time&gt; &lt;time am-time-ago=&quot;epoch&quot;&gt;&lt;/time&gt; 数字を渡すと、エポック秒と判断して、内部でnew Date(value)してくれる。 2014/01/01 12:00:00みたいに文字列を渡したい場合は、 &lt;ti…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fofsilvers.hateblo.jp%2Fentry%2Fmomentjs-with-angularjs&quot; title=&quot;AngularJSでmoment.js使いたいとき - しるてく&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>2014-03-17 19:35:16</published>
  <title>AngularJSでmoment.js使いたいとき</title>
  <type>rich</type>
  <url>https://ofsilvers.hateblo.jp/entry/momentjs-with-angularjs</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
