]> code.delx.au - gnu-emacs/blobdiff - lisp/time-stamp.el
(time-stamp-month-dd-yyyy): no leading zero on day.
[gnu-emacs] / lisp / time-stamp.el
index 744b3ea4910cbc3416d45ac0c4178d4d09a1b1e5..af529c93cee2e186550f0fcbfe821dfed9f3c179 100644 (file)
@@ -2,7 +2,7 @@
 ;;; Copyright 1989, 1993 Free Software Foundation, Inc.
 
 ;; Maintainer: Stephen Gildea <gildea@lcs.mit.edu>
-;; Time-stamp: <93/09/24 16:02:25 gildea>
+;; Time-stamp: <93/12/07 07:38:54 gildea>
 ;; Keywords: tools
 
 ;; This file is free software; you can redistribute it and/or modify
@@ -184,7 +184,7 @@ otherwise the value of the function system-name."
 (defun time-stamp-month-dd-yyyy ()
   "Return the current date as a string in \"Month dd, yyyy\" form."
   (let ((date (current-time-string)))
-    (format "%s %02d, %s"
+    (format "%s %d, %s"
            (aref time-stamp-month-full-names
                  (cdr (assoc (substring date 4 7) time-stamp-month-numbers)))
            (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."
 
 ;;; time-stamp.el ends here
 
-