]> git.eshelyaron.com Git - emacs.git/commitdiff
Doc fix for current-time-string and date-to-time (Bug#5408)
authorChong Yidong <cyd@stupidchicken.com>
Mon, 18 Jan 2010 16:29:00 +0000 (11:29 -0500)
committerChong Yidong <cyd@stupidchicken.com>
Mon, 18 Jan 2010 16:29:00 +0000 (11:29 -0500)
* src/editfns.c (Fcurrent_time_string): Doc fix.
* lisp/calendar/time-date.el (date-to-time): Doc fix.

lisp/ChangeLog
lisp/calendar/time-date.el
src/ChangeLog
src/editfns.c

index d9f3648425b6187d82e8286256d4976f80883c50..105f6b05263d7cb85c2361dee930bbbbd8063fe0 100644 (file)
@@ -1,3 +1,7 @@
+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)
index 3b4495881f691f6a4b013f86d12edf5192a4386e..914d2d33928473067a73c2a4c12e28e485c3c437 100644 (file)
@@ -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
index e1d2ba440ab747f6e1d7fcf7589842031247c60f..190e35d923f60506f5213a6028235c7f440eb318 100644 (file)
@@ -1,3 +1,7 @@
+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).
index 00ac0ca0fa99ff574ea01f7c2362c2ae535aac17..093f141bff21d1ff35a41fc8a02d9ff98f7f40db 100644 (file)
@@ -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.