aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1993-12-23 03:43:13 +0000
committerRichard M. Stallman1993-12-23 03:43:13 +0000
commit579cc01c3a11fd80c9b39ab6ca03f05f0b693def (patch)
treed6779fb84096bc3f4dfe858c93dae2c5e6274f82
parent08ffcab37e19febb90dd296eb9ecdc2c69c6374f (diff)
downloademacs-579cc01c3a11fd80c9b39ab6ca03f05f0b693def.tar.gz
emacs-579cc01c3a11fd80c9b39ab6ca03f05f0b693def.zip
(time-stamp-month-dd-yyyy): no leading zero on day.
-rw-r--r--lisp/time-stamp.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/time-stamp.el b/lisp/time-stamp.el
index 744b3ea4910..af529c93cee 100644
--- a/lisp/time-stamp.el
+++ b/lisp/time-stamp.el
@@ -2,7 +2,7 @@
2;;; Copyright 1989, 1993 Free Software Foundation, Inc. 2;;; Copyright 1989, 1993 Free Software Foundation, Inc.
3 3
4;; Maintainer: Stephen Gildea <gildea@lcs.mit.edu> 4;; Maintainer: Stephen Gildea <gildea@lcs.mit.edu>
5;; Time-stamp: <93/09/24 16:02:25 gildea> 5;; Time-stamp: <93/12/07 07:38:54 gildea>
6;; Keywords: tools 6;; Keywords: tools
7 7
8;; This file is free software; you can redistribute it and/or modify 8;; This file is free software; you can redistribute it and/or modify
@@ -184,7 +184,7 @@ otherwise the value of the function system-name."
184(defun time-stamp-month-dd-yyyy () 184(defun time-stamp-month-dd-yyyy ()
185 "Return the current date as a string in \"Month dd, yyyy\" form." 185 "Return the current date as a string in \"Month dd, yyyy\" form."
186 (let ((date (current-time-string))) 186 (let ((date (current-time-string)))
187 (format "%s %02d, %s" 187 (format "%s %d, %s"
188 (aref time-stamp-month-full-names 188 (aref time-stamp-month-full-names
189 (cdr (assoc (substring date 4 7) time-stamp-month-numbers))) 189 (cdr (assoc (substring date 4 7) time-stamp-month-numbers)))
190 (string-to-int (substring date 8 10)) 190 (string-to-int (substring date 8 10))
@@ -273,4 +273,3 @@ The first character of dd is Space if the value is less than 10."
273 273
274;;; time-stamp.el ends here 274;;; time-stamp.el ends here
275 275
276