aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorPaul Eggert2016-04-12 08:47:15 -0700
committerPaul Eggert2016-04-12 08:49:19 -0700
commitca509810014726cf6bee9f7e8f69bdeaf62dc146 (patch)
treebf9e81d82e77edebcd6addc1a9bc0392425b1bdd /etc
parentc23c965bb9d0a4bcc1b6158833ff99aa20fd53e9 (diff)
downloademacs-ca509810014726cf6bee9f7e8f69bdeaf62dc146.tar.gz
emacs-ca509810014726cf6bee9f7e8f69bdeaf62dc146.zip
Improve time zone documentation
* doc/lispref/os.texi (Time Zone Rules): New section, mostly with material moved here from other sections. * doc/emacs/cmdargs.texi (General Variables): * doc/lispref/os.texi (Time Conversion, Time Parsing): Xref new section. * etc/NEWS, etc/PROBLEMS: * lisp/org/org.el (org-timestamp-format): * src/editfns.c (Fformat_time_string, Fdecode_time) (Fencode_time, Fcurrent_time_string, Fcurrent_time_zone) (Fset_time_zone_rule): When documenting time zone rule strings, mention the TZ environment variable in preference to mentioning the sort-of-internal function set-time-zone-rule.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS10
-rw-r--r--etc/PROBLEMS8
2 files changed, 9 insertions, 9 deletions
diff --git a/etc/NEWS b/etc/NEWS
index fe7df96ecea..bae42af6d6d 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1778,11 +1778,11 @@ quotation marks.
1778*** Time conversion functions now accept an optional ZONE argument 1778*** Time conversion functions now accept an optional ZONE argument
1779that specifies the time zone rules for conversion. ZONE is omitted or 1779that specifies the time zone rules for conversion. ZONE is omitted or
1780nil for Emacs local time, t for Universal Time, 'wall' for system wall 1780nil for Emacs local time, t for Universal Time, 'wall' for system wall
1781clock time, or a string as in 'set-time-zone-rule' for a time zone 1781clock time, or a string as in the TZ environment variable. The
1782rule. The affected functions are 'current-time-string', 1782affected functions are 'current-time-string', 'current-time-zone',
1783'current-time-zone', 'decode-time', and 'format-time-string'. The 1783'decode-time', and 'format-time-string'. The function 'encode-time',
1784function 'encode-time', which already accepted a simple time zone rule 1784which already accepted a simple time zone rule argument, has been
1785argument, has been extended to accept all the new forms. 1785extended to accept all the new forms.
1786 1786
1787*** Incompatible change in the third argument of 'format-time-string'. 1787*** Incompatible change in the third argument of 'format-time-string'.
1788Previously, any non-nil argument was interpreted as specifying Universal Time. 1788Previously, any non-nil argument was interpreted as specifying Universal Time.
diff --git a/etc/PROBLEMS b/etc/PROBLEMS
index b0c21ee25dd..be9400bf264 100644
--- a/etc/PROBLEMS
+++ b/etc/PROBLEMS
@@ -2220,11 +2220,11 @@ month names with consistent widths for some locales on some versions
2220of Windows. This is caused by a deficiency in the underlying system 2220of Windows. This is caused by a deficiency in the underlying system
2221library function. 2221library function.
2222 2222
2223** Problems with set-time-zone-rule function 2223** Non-US time zones.
2224 2224
2225The function set-time-zone-rule gives incorrect results for many 2225Many non-US time zones are implemented incorrectly. This is due to
2226non-US timezones. This is due to over-simplistic handling of 2226over-simplistic handling of daylight savings switchovers by the
2227daylight savings switchovers by the Windows libraries. 2227Windows libraries.
2228 2228
2229** Files larger than 4GB report wrong size in a 32-bit Windows build 2229** Files larger than 4GB report wrong size in a 32-bit Windows build
2230 2230