Commit 244b023e authored by Chong Yidong's avatar Chong Yidong

Doc fix for current-time-string and date-to-time (Bug#5408)

* src/editfns.c (Fcurrent_time_string): Doc fix.
* lisp/calendar/time-date.el (date-to-time): Doc fix.
parent 07e60673
2010-01-18 Chong Yidong <cyd@stupidchicken.com>
* calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
2010-01-18 Juanma Barranquero <lekktu@gmail.com>
* cedet/ede/locate.el (ede-locate-file-in-project)
......
......@@ -98,7 +98,8 @@ and type 2 is the list (HIGH LOW MICRO)."
;;;###autoload
(defun date-to-time (date)
"Parse a string DATE that represents a date-time and return a time value."
"Parse a string DATE that represents a date-time and return a time value.
If DATE lacks timezone information, GMT is assumed."
(condition-case ()
(apply 'encode-time
(parse-time-string
......
2010-01-18 Chong Yidong <cyd@stupidchicken.com>
* editfns.c (Fcurrent_time_string): Doc fix (Bug#5408).
2010-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
* xterm.c (event_handler_gdk): Block input (Bug#5037).
......
......@@ -1897,7 +1897,7 @@ usage: (encode-time SECOND MINUTE HOUR DAY MONTH YEAR &optional ZONE) */)
}
DEFUN ("current-time-string", Fcurrent_time_string, Scurrent_time_string, 0, 1, 0,
doc: /* Return the current time, as a human-readable string.
doc: /* Return the current local time, as a human-readable string.
Programs can use this function to decode a time,
since the number of columns in each field is fixed
if the year is in the range 1000-9999.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment