<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Gururi</author_name>
  <author_url>https://blog.hatena.ne.jp/Gururi/</author_url>
  <blog_title>Gururiの日記</blog_title>
  <blog_url>https://hd.gururi.com/</blog_url>
  <categories>
    <anon>diary</anon>
    <anon>Mac</anon>
  </categories>
  <description>日記を書く前に日付が変わってしまった場合、明示的に前日の日付で書いてるわけだが、タイムスタンプを付けているためにそのまま書くと表示上の日付は前日なのに、タイムスタンプ(UNIX時間)は翌日という変な状態になってしまう。というわけで、今まではAppleScriptとシェル*1で前日終了1秒前のUNIX時間を生成し、クリップボードに突っ込んでいたのだが、ふと思い立ってAppleScriptのみで書き直してみた。 before(\はバックスラッシュに直さないと動きません) do shell script ((&quot;echo &quot; &amp; ((((date (do shell script &quot;date +%Y/…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhd.gururi.com%2Fentry%2F20101026%2F1288104828&quot; title=&quot;前日終了1秒前 - Gururiの日記&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>2010-10-26 23:53:48</published>
  <title>前日終了1秒前</title>
  <type>rich</type>
  <url>https://hd.gururi.com/entry/20101026/1288104828</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
