emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs-25 1042217: Document incompatible changes in 'format


From: Eli Zaretskii
Subject: [Emacs-diffs] emacs-25 1042217: Document incompatible changes in 'format-time-string'
Date: Sat, 02 Apr 2016 13:24:56 +0000

branch: emacs-25
commit 104221731eb0e24bd6ec4c9e63f4f7590fd07c97
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Document incompatible changes in 'format-time-string'
    
    * etc/NEWS: Mention the incompatible change in the interpretation
    of the 3rd argument to 'format-time-string'.  (Bug#21943)
---
 etc/NEWS |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/etc/NEWS b/etc/NEWS
index 5599bd9..7de746e 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1771,6 +1771,11 @@ rule.  The affected functions are 'current-time-string',
 function 'encode-time', which already accepted a simple time zone rule
 argument, has been extended to accept all the new forms.
 
+*** Incompatible change in the third argument of 'format-time-string'.
+Previously, any non-nil argument was interpreted as a UTC time zone.
+This is no longer true; packages that want UTC time zone should pass t
+as the third argument.
+
 *** Time-related functions now consistently accept numbers
 (representing seconds since the epoch) and nil (representing the
 current time) as well as the usual list-of-integer representation.



reply via email to

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