stigbjorlykke / rpm-spec-mode

RPM spec file editing commands for Emacs/XEmacs
GNU General Public License v2.0
12 stars 23 forks source link

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

Open ellert opened 4 years ago

ellert commented 4 years ago

Both rpmdev-bumpspec and rpm -q --changelog uses zero-padded dates, while the emacs rpm-spec-mode uses space padded dates. This means every time I use the emacs rpm-spec-mode to add changelog entry during the first 9 days of every month I have to remember to replace the space with a zero to keep the format consistent.

This PR addresses this annoyance.

With the proposed changed:

* Fri Nov 01 2019 Mattias Ellert <mattias.ellert@physics.uu.se> - 0.16-8

Before the proposed change:

* Fri Nov  1 2019 Mattias Ellert <mattias.ellert@physics.uu.se> - 0.16-8