BUG: "Reformat Date" using Custom-Now-Date>New-Date

Would you like Bulk Rename Utility to offer new functionality? Post your comments here!

BUG: "Reformat Date" using Custom-Now-Date>New-Date

Postby Luuk » Thu Jul 18, 2024 4:39 am

If Now-Date has variables that contain text (%a,%A,%b,%B,%p), they might not get matched properly...

1: If a now-name begins with any date-text (like July), the date-text cant be matched.
-- (but with at least 1-character before the date-text, its recognized and converted).

2: If a now-name has any date-text (like May), but with extra-letters and no separators (like Mayor),
-- then the extra-letters are considered as part of the date (and get removed with any conversion).

Examples of matching custom-date-formats in now-names...
July 04, 2023 -------------> %B %d, %Y is not recognized (since now-name starts with date-text).
aJuly 04, 2023 ------------> %B %d, %Y conducts properly (since at least 1-char precedes date-text).
2023-04-JulyInSweden ---> InSweden is considered part of date-text (and gets removed with any date-conversion)
............................... Even something like %Y %d %B>%Y-%d-%B (to change separators) still removes InSweden.


===========================
Some examples of "Reformat Date" without specifying date-formats, so these are probably not bugs?...
7890123.txt ----------> 7890-12-03.txt (seems correct, if users prefer matching years >20##, and there can be 1-digit-days)
67890123.txt ---------> 6789-01-23.txt (seems correct, if users prefer matching years >20##)
678901234.txt --------> 6789-01-234.txt (seems correct, if users prefer more numbers can follow the date)
1234567890123 -------> (not converted) (seem correct, if uses prefer more numbers should not precede the date)
202490123.txt --------> (not converted) (seems correct if users prefer 2-digit-months) (so dont covert to 2024-09-0123)
Luuk
 
Posts: 809
Joined: Fri Feb 21, 2020 10:58 pm

Re: BUG: "Reformat Date" using Custom-Now-Date>New-Date

Postby Luuk » Thu Jul 18, 2024 9:08 am

If anybody wants to experiment with matching custom-date-formats, its like... Current-Format>New-Format
So you can just use strings like %B %d, %Y>---- to test the matching-part inside of your now-names.
Luuk
 
Posts: 809
Joined: Fri Feb 21, 2020 10:58 pm

Re: BUG: "Reformat Date" using Custom-Now-Date>New-Date

Postby Admin » Fri Jul 19, 2024 10:37 am

Hi Luuk,
Thank you for the report and detailed testing!
We will check this asap and fix 8)
Admin
Site Admin
 
Posts: 2923
Joined: Tue Mar 08, 2005 8:39 pm

Re: BUG: "Reformat Date" using Custom-Now-Date>New-Date

Postby Admin » Mon Jul 22, 2024 9:10 am

This should be fixed now
Admin
Site Admin
 
Posts: 2923
Joined: Tue Mar 08, 2005 8:39 pm

Re: BUG: "Reformat Date" using Custom-Now-Date>New-Date

Postby Admin » Tue Jul 23, 2024 10:10 am

Version 3.5.0.1 available : viewtopic.php?f=1&t=6600

However I do not think we will be able to 100% correctly handle everything in automatic (e.g. without specifying date format)
Admin
Site Admin
 
Posts: 2923
Joined: Tue Mar 08, 2005 8:39 pm


Return to Suggestions