Name -> Reformat Date not working as advertised (%a)

Post any Bulk Rename Utility support requirements here. Open to all registered users.

Name -> Reformat Date not working as advertised (%a)

Postby SMazTX » Wed Aug 06, 2025 11:20 am

I have version 4.0.1.0 and file names that look like:
Tue,_08_05_25.pdf
Mon,_08_04_25.pdf


I want to rename them so they are:
2025-08-05_Sun-Sentinel.pdf
2025-08-04_Sun-Sentinel.pdf


the help text for Name-> Reformat Date seems to indicate I can do what I need to: https://app.screencast.com/CvpCyJyMXCugK (see highlighted portion)

I tried doing that: https://app.screencast.com/7aSZYR0pExPZn

however, as you can see, it didn't seem to have any effect.

Thankfully, I used the new Javascript and Regex Assistant and just gave an example: Change file name from this Tue,_08_05_25.pdf to this 2025-08-25_.pdf and it nailed it on the very first try! I'm impressed and happy :)
SMazTX
 
Posts: 11
Joined: Mon Feb 21, 2022 2:01 pm

Name(2) Reformat Date %A versus %a

Postby Luuk » Thu Aug 07, 2025 8:17 am

I believe its probably just a typo in the manual??
With custom now-date>new-date formats, the now-date should always use %A instead of %a.
Then the now-date format will match either the fully spelled weekday, or its abbreviation.
But the new-date format can use either one.
Luuk
 
Posts: 834
Joined: Fri Feb 21, 2020 10:58 pm

Re: Name -> Reformat Date not working as advertised

Postby SMazTX » Thu Aug 07, 2025 11:37 am

:D Brilliant! That one small tweak did it!
SMazTX
 
Posts: 11
Joined: Mon Feb 21, 2022 2:01 pm

Re: Name -> Reformat Date not working as advertised

Postby SMazTX » Thu Aug 07, 2025 11:45 am

THANKS Luuk!
SMazTX
 
Posts: 11
Joined: Mon Feb 21, 2022 2:01 pm

Re: Name -> Reformat Date not working as advertised

Postby Admin » Sat Aug 09, 2025 1:44 am

Hi, I looked into this further and there is an issue in "Reformat Date", where the %a (small) is not correctly recognized, only the %A is recognized. All other flags are fine.
This will be fixed in the next update. Thank you for reporting this!
Admin
Site Admin
 
Posts: 3047
Joined: Tue Mar 08, 2005 8:39 pm


Return to BRU Support