From 80407a2d3fa0827288eaf4006f2af5e011402631 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Mon, 1 May 2017 22:36:01 +0300 Subject: [PATCH] ; Fix commentary in a recent commit * test/src/editfns-tests.el (format-time-string-with-zone): Minor copyedit in the commentary. --- test/src/editfns-tests.el | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/test/src/editfns-tests.el b/test/src/editfns-tests.el index 3fd3cc1305f..7ed146dd91a 100644 --- a/test/src/editfns-tests.el +++ b/test/src/editfns-tests.el @@ -141,13 +141,13 @@ ;;; even if tzdb is not in use. (ert-deftest format-time-string-with-zone () ;; Don’t use (0 0 0 0) as the test case, as there are too many bugs - ;; in MSVC (and presumably other) C libraries when formatting time - ;; stamps near the Epoch of 1970-01-01 00:00:00 UTC, and this test - ;; is for GNU Emacs, not for C runtimes. Instead, look before you - ;; leap: "look" is the timestamp just before the first leap second - ;; on 1972-06-30 23:59:60 UTC, so it should format to the same - ;; string regardless of whether the underlying C library ignores - ;; leap seconds, while avoiding circa-1970 glitches. + ;; in MS-Windows (and presumably other) C libraries when formatting + ;; time stamps near the Epoch of 1970-01-01 00:00:00 UTC, and this + ;; test is for GNU Emacs, not for C runtimes. Instead, look before + ;; you leap: "look" is the timestamp just before the first leap + ;; second on 1972-06-30 23:59:60 UTC, so it should format to the + ;; same string regardless of whether the underlying C library + ;; ignores leap seconds, while avoiding circa-1970 glitches. (let ((look '(1202 22527 999999 999999))) ;; UTC. (should (string-equal -- 2.39.5