Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Currently archive-dump and sql-dump use a 12-hour clock format when generating the dump filenames, but do not include any indication of AM or PM.
When I'm taking several dumps several dumps a day, it can be difficult to choose a dump file by filename alone, and I need to run ls -l
to be sure.
Can we switch to using 24-hour time formats in the dump filenames by default?
Comment | File | Size | Author |
---|---|---|---|
#5 | 24-hour-filenames-1892280-5.patch | 1.13 KB | andrewmacpherson |
#2 | 24-hour-filenames-1892280-2.patch | 1.13 KB | andrewmacpherson |
Comments
Comment #1
andrewmacpherson CreditAttribution: andrewmacpherson commentedThis patch makes changes the default filename date formats to Ymd_His
This patch is against the 7.x-5.x branch. What's the policy for minor changes like this? Should it be made agfainst 8.x-6.x first, and backported, like core?
Comment #2
andrewmacpherson CreditAttribution: andrewmacpherson commentedforgot to add the patch
Comment #3
moshe weitzman CreditAttribution: moshe weitzman commentedSeems sensible.
Comment #4
moshe weitzman CreditAttribution: moshe weitzman commentedYes, like core (backport policy)
Comment #5
andrewmacpherson CreditAttribution: andrewmacpherson commentedThanks Moshe. Here's a patch against 8.x-6.x
Comment #6
moshe weitzman CreditAttribution: moshe weitzman commentedCommtted to 5 and 6 branches. Thanks.