OSDN Git Service

fix for new decode-time
authorHiraoka <khi@users.osdn.me>
Sun, 18 Aug 2019 11:44:21 +0000 (20:44 +0900)
committerHiraoka <khi@users.osdn.me>
Sun, 18 Aug 2019 11:44:21 +0000 (20:44 +0900)
ChangeLog
doc/README-j.html
doc/README.ja.rd
howm-common.el

index 964db83..ca4942b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2019-08-18  HIRAOKA Kazuyuki  <khi@users.osdn.me>
+
+       * howm-common.el (howm-decode-time): fix for new decode-time
+       thx > U5948U5e7eU4e43
+       https://twitter.com/U5948U5e7eU4e43/status/1162732269347336193
+       http://git.savannah.gnu.org/cgit/emacs.git/commit/etc/NEWS?id=b06917a4912a60402025286d07d4a195749245c4
+
 2018-12-31  HIRAOKA Kazuyuki  <khi@users.osdn.me>
 
        * configure.ac: version 1.4.5
index 7ed9a72..3511dcf 100644 (file)
@@ -1290,6 +1290,15 @@ make test</pre></li>
 <h3><a name="label-19" id="label-19">¹¹¿·µ­Ï¿</a></h3><!-- RDLabel: "¹¹¿·µ­Ï¿" -->
 <p>thx &gt; patch¡¦²þÎÉ°Æ¡¦»ØŦ¤ò¤¯¤À¤µ¤Ã¤¿³§ÍÍ</p>
 <ul>
+<li>¥¹¥Ê¥Ã¥×¥·¥ç¥Ã¥ÈÈÇ
+<ul>
+<li>[2019-08-18]
+<ul>
+<li>fix: C-c , : (howm-find-yesterday) ¤¬²õ¤ì¤Æ¤¤¤¿
+      <a href="https://twitter.com/U5948U5e7eU4e43/status/1162732269347336193">thx</a>
+      <a href="http://git.savannah.gnu.org/cgit/emacs.git/commit/etc/NEWS?id=b06917a4912a60402025286d07d4a195749245c4">ref</a></li>
+</ul></li>
+</ul></li>
 <li>¥ê¥ê¡¼¥¹ÈÇ howm-1.4.5 [2018-12-31]
 <ul>
 <li><p>migemo-client ¤Î¤«¤ï¤ê¤Ë cmigemo ¤âÂбþ</p>
index b183f21..4791846 100644 (file)
@@ -926,6 +926,12 @@ Emacs 
 
 thx > patch¡¦²þÎÉ°Æ¡¦»ØŦ¤ò¤¯¤À¤µ¤Ã¤¿³§ÍÍ
 
+* ¥¹¥Ê¥Ã¥×¥·¥ç¥Ã¥ÈÈÇ
+  * [2019-08-18]
+    * fix: C-c , : (howm-find-yesterday) ¤¬²õ¤ì¤Æ¤¤¤¿
+      ((<thx|URL:https://twitter.com/U5948U5e7eU4e43/status/1162732269347336193>))
+      ((<ref|URL:http://git.savannah.gnu.org/cgit/emacs.git/commit/etc/NEWS?id=b06917a4912a60402025286d07d4a195749245c4>))
+
 * ¥ê¥ê¡¼¥¹ÈÇ howm-1.4.5 [2018-12-31]
   * migemo-client ¤Î¤«¤ï¤ê¤Ë cmigemo ¤âÂбþ
       (setq howm-migemo-client '((type . cmigemo) (command . "cmigemo")))
index 7050c94..be1db59 100644 (file)
@@ -384,11 +384,11 @@ returns ((\"a\" \"aaa\" \"abc\") (\"x\" \"xyz\"))."
     (apply #'message `(,str ,@args))))
 
 (defun howm-decode-time (&optional specified-time)
-  "Decode SPECIFIED-TIME and remove DOW, DST, ZONE.
+  "Decode SPECIFIED-TIME and remove DOW, DST, ZONE, SUBSEC.
 When we do something like (encode-time (decode-time)), we use this function
 instead of the original `decode-time', so that we can force
 current timezone rule uniformly to avoid inconsistency."
-  (butlast (decode-time specified-time) 3))
+  (howm-first-n (decode-time specified-time) 6))
 
 (defmacro howm-with-need (&rest body)
   "Execute BODY where (need xxx) exits from this form if xxx is nil."