#70 bumpspec: Add zero-padding to day of the month with legacy datestamp
Merged 2 years ago by ngompa. Opened 2 years ago by churchyard.
churchyard/rpmdevtools legacy_datestamp_padding  into  master

file modified
+1 -1
@@ -167,7 +167,7 @@ 

                  if opts.datestamp:

                      date = self.validateDatestamp(opts.datestamp)

                  elif opts.legacy_datestamp:

-                     date = time.strftime("%a %b %e %Y", time.gmtime())

+                     date = time.strftime("%a %b %d %Y", time.gmtime())

                  else:

                      date = time.strftime("%a %b %e %T %Z %Y", time.localtime())

                  newchangelogentry = "* %s %s%s\n%s\n\n" % \

This is how the legacy datestamp looked like.

@churchyard Can you prefix the commit subject line with bumpspec:?

rebased onto a8449c7

2 years ago

Pull-Request has been merged by ngompa

2 years ago

Could you please release this? It's really annoying 9 days each month :)

I'll push it out tomorrow. :wine_glass:

Metadata