[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 80407a2: ; Fix commentary in a recent commit
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] master 80407a2: ; Fix commentary in a recent commit |
Date: |
Mon, 1 May 2017 15:36:52 -0400 (EDT) |
branch: master
commit 80407a2d3fa0827288eaf4006f2af5e011402631
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
; 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 3fd3cc1..7ed146d 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 80407a2: ; Fix commentary in a recent commit,
Eli Zaretskii <=