>From 27ff288c14aebce442b72c7e4d433d7cfff37f85 Mon Sep 17 00:00:00 2001 From: Gabriel Beauchamp Date: Wed, 10 Dec 2014 18:18:16 -0500 Subject: [PATCH] Doc fixes. * calendar/time-date.el (date-to-time): Doc fix. * os.texi (Time Parsing): Doc fix. --- doc/lispref/ChangeLog | 4 ++++ doc/lispref/os.texi | 2 ++ lisp/ChangeLog | 4 ++++ lisp/calendar/time-date.el | 3 ++- 4 files changed, 12 insertions(+), 1 deletion(-) diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index e7b5606..0624bee 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog @@ -1,3 +1,7 @@ +2014-12-10 Gabriel + + * os.texi (Time Parsing): Doc fix. + 2014-12-09 Lars Magne Ingebrigtsen * files.texi (Contents of Directories): Document diff --git a/doc/lispref/os.texi b/doc/lispref/os.texi index b709447..1936bdf 100644 --- a/doc/lispref/os.texi +++ b/doc/lispref/os.texi @@ -1422,6 +1422,8 @@ Time values are lists of two to four integers (@pxref{Time of Day}). @defun date-to-time string This function parses the time-string @var{string} and returns the corresponding time value. +On 32-bit systems, this function will fail for @var{string} +after 19-Jan-2038. @end defun @defun format-time-string format-string &optional time-value universal diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e65835c..39727d9 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2014-12-10 Gabriel + + * calendar/time-date.el (date-to-time): Doc fix. + 2014-12-10 Artur Malabarba * let-alist.el: Add new package and macro. diff --git a/lisp/calendar/time-date.el b/lisp/calendar/time-date.el index e7a8cc7..e77d648 100644 --- a/lisp/calendar/time-date.el +++ b/lisp/calendar/time-date.el @@ -146,7 +146,8 @@ it is assumed that PICO was omitted and should be treated as zero." ;; values. timezone-make-date-arpa-standard should help. (defun date-to-time (date) "Parse a string DATE that represents a date-time and return a time value. -If DATE lacks timezone information, GMT is assumed." +If DATE lacks timezone information, GMT is assumed. +On 32-bit systems, this function will fail for DATE after 19-Jan-2038." (condition-case err (apply 'encode-time (parse-time-string date)) (error -- 1.8.3.2