diff options
Diffstat (limited to 'src/editfns.c')
| -rw-r--r-- | src/editfns.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/editfns.c b/src/editfns.c index 8c7491beedc..047a73f0b8c 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -2165,7 +2165,8 @@ between 0 and 23. DAY is an integer between 1 and 31. MONTH is an | |||
| 2165 | integer between 1 and 12. YEAR is an integer indicating the | 2165 | integer between 1 and 12. YEAR is an integer indicating the |
| 2166 | four-digit year. DOW is the day of week, an integer between 0 and 6, | 2166 | four-digit year. DOW is the day of week, an integer between 0 and 6, |
| 2167 | where 0 is Sunday. DST is t if daylight saving time is in effect, | 2167 | where 0 is Sunday. DST is t if daylight saving time is in effect, |
| 2168 | otherwise nil. UTCOFF is an integer indicating the UTC offset in | 2168 | nil if it is not in effect, and -1 if this information is |
| 2169 | not available. UTCOFF is an integer indicating the UTC offset in | ||
| 2169 | seconds, i.e., the number of seconds east of Greenwich. (Note that | 2170 | seconds, i.e., the number of seconds east of Greenwich. (Note that |
| 2170 | Common Lisp has different meanings for DOW and UTCOFF.) | 2171 | Common Lisp has different meanings for DOW and UTCOFF.) |
| 2171 | 2172 | ||
| @@ -2194,7 +2195,8 @@ usage: (decode-time &optional TIME ZONE) */) | |||
| 2194 | make_fixnum (local_tm.tm_mon + 1), | 2195 | make_fixnum (local_tm.tm_mon + 1), |
| 2195 | make_fixnum (local_tm.tm_year + tm_year_base), | 2196 | make_fixnum (local_tm.tm_year + tm_year_base), |
| 2196 | make_fixnum (local_tm.tm_wday), | 2197 | make_fixnum (local_tm.tm_wday), |
| 2197 | local_tm.tm_isdst ? Qt : Qnil, | 2198 | (local_tm.tm_isdst < 0 ? make_fixnum (-1) |
| 2199 | : local_tm.tm_isdst == 0 ? Qnil : Qt), | ||
| 2198 | (HAVE_TM_GMTOFF | 2200 | (HAVE_TM_GMTOFF |
| 2199 | ? make_fixnum (tm_gmtoff (&local_tm)) | 2201 | ? make_fixnum (tm_gmtoff (&local_tm)) |
| 2200 | : gmtime_r (&time_spec, &gmt_tm) | 2202 | : gmtime_r (&time_spec, &gmt_tm) |