mirror of
https://github.com/correl/melpa.git
synced 2024-12-01 03:00:08 +00:00
Don't just remove *one* padding zero if there are two
This commit is contained in:
parent
84f54dd5fe
commit
55139921af
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@
|
||||||
(message (format "%s\n" (substring-no-properties str)))
|
(message (format "%s\n" (substring-no-properties str)))
|
||||||
;; We remove zero-padding the HH portion, as it is lost
|
;; We remove zero-padding the HH portion, as it is lost
|
||||||
;; when stored in the archive-contents
|
;; when stored in the archive-contents
|
||||||
(replace-regexp-in-string "\\.0"
|
(replace-regexp-in-string "\\.0+"
|
||||||
"."
|
"."
|
||||||
(format-time-string
|
(format-time-string
|
||||||
"%Y%m%d.%H%M"
|
"%Y%m%d.%H%M"
|
||||||
|
|
Loading…
Reference in a new issue