Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use zero-padded date (%d) instead of space-padded date (%e) #15

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions rpm-spec-mode.el
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
;;; rpm-spec-mode.el --- RPM spec file editing commands for Emacs/XEmacs

;; Copyright (C) 1997-2015 Stig Bj�rlykke, <[email protected]>
;; Copyright (C) 1997-2015 Stig Bjørlykke, <[email protected]>

;; Author: Stig Bj�rlykke, <[email protected]>
;; Author: Stig Bjørlykke, <[email protected]>
;; Keywords: unix, languages
;; Version: 0.16

Expand Down Expand Up @@ -30,10 +30,10 @@
;; Tore Olsen <[email protected]> for some general fixes.
;; Steve Sanbeg <[email protected]> for navigation functions and
;; some Emacs fixes.
;; Tim Powers <[email protected]> and Trond Eivind Glomsr�d
;; Tim Powers <[email protected]> and Trond Eivind Glomsrød
;; <[email protected]> for Red Hat adaptions and some fixes.
;; Chmouel Boudjnah <[email protected]> for Mandrake fixes.
;; Ville Skytt� <[email protected]> for some fixes.
;; Ville Skyttä <[email protected]> for some fixes.
;; Adam Spiers <[email protected]> for GNU emacs compilation
;; and other misc fixes.

Expand Down Expand Up @@ -734,7 +734,7 @@ This variable is global by default, but you can make it buffer-local.")
(defsubst rpm-change-log-date-string ()
"Return the date string for today, inserted by \\[rpm-add-change-log-entry].
If `rpm-change-log-uses-utc' is nil, \"today\" means the local time zone."
(format-time-string "%a %b %e %Y" nil rpm-change-log-uses-utc))
(format-time-string "%a %b %d %Y" nil rpm-change-log-uses-utc))

(defun rpm-goto-add-change-log-header ()
"Find change log and add header (if needed) for today"
Expand Down Expand Up @@ -1460,7 +1460,7 @@ if one is present in the file."
(message
(concat "rpm-spec-mode version "
rpm-spec-mode-version
" by Stig Bj�rlykke, <[email protected]>")))
" by Stig Bjørlykke, <[email protected]>")))

;;;###autoload(add-to-list 'auto-mode-alist '("\\.spec\\(\\.in\\)?$" . rpm-spec-mode))

Expand Down