emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/timezone.el,v


From: Juanma Barranquero
Subject: [Emacs-diffs] Changes to emacs/lisp/timezone.el,v
Date: Sat, 01 Nov 2008 01:24:41 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Juanma Barranquero <lektu>      08/11/01 01:24:38

Index: timezone.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/timezone.el,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -b -r1.42 -r1.43
--- timezone.el 6 May 2008 07:57:54 -0000       1.42
+++ timezone.el 1 Nov 2008 01:24:37 -0000       1.43
@@ -258,7 +258,7 @@
 
 (defun timezone-zone-to-minute (timezone)
   "Translate TIMEZONE to an integer minute offset from GMT.
-TIMEZONE can be a cons cell containing the output of current-time-zone,
+TIMEZONE can be a cons cell containing the output of `current-time-zone',
 or an integer of the form +-HHMM, or a time zone name."
   (cond
      ((consp timezone)
@@ -280,7 +280,7 @@
 
 (defun timezone-time-from-absolute (date seconds)
   "Compute the UTC time equivalent to DATE at time SECONDS after midnight.
-Return a list suitable as an argument to current-time-zone,
+Return a list suitable as an argument to `current-time-zone',
 or nil if the date cannot be thus represented.
 DATE is the number of days elapsed since the (imaginary)
 Gregorian date Sunday, December 31, 1 BC."
@@ -298,7 +298,7 @@
 
 (defun timezone-time-zone-from-absolute (date seconds)
   "Compute the local time zone for DATE at time SECONDS after midnight.
-Return a list in the same format as current-time-zone's result,
+Return a list in the same format as `current-time-zone's result,
 or nil if the local time zone could not be computed.
 DATE is the number of days elapsed since the (imaginary)
 Gregorian date Sunday, December 31, 1 BC."
@@ -370,7 +370,7 @@
     (aref [31 28 31 30 31 30 31 31 30 31 30 31] (1- month))))
 
 (defun timezone-leap-year-p (year)
-  "Returns t if YEAR is a Gregorian leap year."
+  "Return t if YEAR is a Gregorian leap year."
   (or (and (zerop  (% year 4))
           (not (zerop (% year 100))))
       (zerop (% year 400))))




reply via email to

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