diff options
| author | Paul Eggert | 2016-04-12 08:47:15 -0700 |
|---|---|---|
| committer | Paul Eggert | 2016-04-12 08:49:19 -0700 |
| commit | ca509810014726cf6bee9f7e8f69bdeaf62dc146 (patch) | |
| tree | bf9e81d82e77edebcd6addc1a9bc0392425b1bdd /etc | |
| parent | c23c965bb9d0a4bcc1b6158833ff99aa20fd53e9 (diff) | |
| download | emacs-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/NEWS | 10 | ||||
| -rw-r--r-- | etc/PROBLEMS | 8 |
2 files changed, 9 insertions, 9 deletions
| @@ -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 |
| 1779 | that specifies the time zone rules for conversion. ZONE is omitted or | 1779 | that specifies the time zone rules for conversion. ZONE is omitted or |
| 1780 | nil for Emacs local time, t for Universal Time, 'wall' for system wall | 1780 | nil for Emacs local time, t for Universal Time, 'wall' for system wall |
| 1781 | clock time, or a string as in 'set-time-zone-rule' for a time zone | 1781 | clock time, or a string as in the TZ environment variable. The |
| 1782 | rule. The affected functions are 'current-time-string', | 1782 | affected 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', |
| 1784 | function 'encode-time', which already accepted a simple time zone rule | 1784 | which already accepted a simple time zone rule argument, has been |
| 1785 | argument, has been extended to accept all the new forms. | 1785 | extended 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'. |
| 1788 | Previously, any non-nil argument was interpreted as specifying Universal Time. | 1788 | Previously, 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 | |||
| 2220 | of Windows. This is caused by a deficiency in the underlying system | 2220 | of Windows. This is caused by a deficiency in the underlying system |
| 2221 | library function. | 2221 | library function. |
| 2222 | 2222 | ||
| 2223 | ** Problems with set-time-zone-rule function | 2223 | ** Non-US time zones. |
| 2224 | 2224 | ||
| 2225 | The function set-time-zone-rule gives incorrect results for many | 2225 | Many non-US time zones are implemented incorrectly. This is due to |
| 2226 | non-US timezones. This is due to over-simplistic handling of | 2226 | over-simplistic handling of daylight savings switchovers by the |
| 2227 | daylight savings switchovers by the Windows libraries. | 2227 | Windows 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 | ||