emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lispref/os.texi,v


From: Glenn Morris
Subject: [Emacs-diffs] Changes to emacs/lispref/os.texi,v
Date: Sat, 31 Mar 2007 23:29:38 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Glenn Morris <gm>       07/03/31 23:29:38

Index: os.texi
===================================================================
RCS file: /sources/emacs/emacs/lispref/os.texi,v
retrieving revision 1.104
retrieving revision 1.105
diff -u -b -r1.104 -r1.105
--- os.texi     31 Mar 2007 17:27:34 -0000      1.104
+++ os.texi     31 Mar 2007 23:29:38 -0000      1.105
@@ -1421,20 +1421,12 @@
 
 @var{time} may specify an absolute or a relative time.
 
-Absolute times may be specified in a wide variety of formats; this
-function tries to accept all the commonly used date formats.  The most
-convenient formats are strings.  Valid such formats include these two,
-
address@hidden
address@hidden@address@hidden @var{hour}:@var{min}:@var{sec} @var{timezone}
-
address@hidden:@var{min}:@var{sec} @var{timezone} 
@var{month}/@var{day}/@var{year}
address@hidden example
-
address@hidden
-where in both examples all fields are numbers; the format that
address@hidden returns is also allowed, and many others
-as well.
+Absolute times may be specified using a string with a limited variety of
+formats, and are taken to be times @emph{today}, even if already in the
+past.  The recognized forms are XXXX, X:XX, or XX:XX (military time),
+and XXam, XXAM, XXpm, XXPM, XX:XXam, XX:XXAM XX:XXpm, or XX:XXPM.  A
+period can be used instead of a colon to separate the hour and minute
+parts.
 
 To specify a relative time as a string, use numbers followed by units.
 For example:
@@ -1452,8 +1444,9 @@
 days, and a year to be exactly 365.25 days.
 
 Not all convenient formats are strings.  If @var{time} is a number
-(integer or floating point), that specifies a relative time measured
-in seconds.
+(integer or floating point), that specifies a relative time measured in
+seconds.  The result of @code{encode-time} can also be used to specify
+an absolute value for @var{time}.
 
 In most cases, @var{repeat} has no effect on when @emph{first} call
 takes address@hidden alone specifies that.  There is one exception:




reply via email to

[Prev in Thread] Current Thread [Next in Thread]