From: Eli Zaretskii Date: Sat, 2 Apr 2016 13:23:05 +0000 (+0300) Subject: Document incompatible changes in 'format-time-string' X-Git-Tag: emacs-25.0.93~77 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1042217;p=emacs.git 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) --- diff --git a/etc/NEWS b/etc/NEWS index 5599bd9dddd..7de746e7556 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.