emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [DRAFT][PATCH] org-encode-time compatibility and convenience helper


From: Paul Eggert
Subject: Re: [DRAFT][PATCH] org-encode-time compatibility and convenience helper
Date: Sat, 23 Apr 2022 12:37:17 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0

On 4/23/22 01:25, Ihor Radchenko wrote:
+  (should (string-equal
+           "2022-03-24 23:30:01"
+           (format-time-string
+            "%F %T"
+            (org-encode-time '(01 30 23 24 03 2022 nil -1 nil)))))
...
These tests will be executed using system value of TZ. I am not sure if
tests are not going to break, say, in southern hemisphere or at some
other bizzare values of TZ.


Good point: that test won't work in a time zone where the local time 23:30:01 does not exist due to a daylight-saving spring-forward transition.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]