Macros in directory names, such as %weekday%

Discuss new features and functions
mawg
Posts: 2
Joined: 3 Apr 2020

Post by mawg

In addition to %weekday% and %month% which give text values, is there an equivalent for a numerical value?

I find it much easier to look at these things numerically than alphabetically. e.g 1 Sun 2 Mon 3 Tue, etc

If there are no such macros, how do I go about requesting them?
User avatar
Zenju
Site Admin
Posts: 5999
Joined: 9 Dec 2007

Post by Zenju

Done. I've added %WeekDay%, %WeekDayName%,and %MonthName% macros.

%WeekDay% was changed to return the numerical value instead.
%WeekDay% from old configurations is automatically migrated to %WeekDayName% when updating the next FFS version:

https://www.mediafire.com/file/gj3sddm40xi23s4/FreeFileSync_10.24_%5BBeta%5D_Windows_Setup.exe
mawg
Posts: 2
Joined: 3 Apr 2020

Post by mawg

Wow!! An incredibly quick response. Thank you *very* much :-)
rtbaileyphd
Posts: 4
Joined: 1 Jul 2018

Post by rtbaileyphd

I just upgraded a few days ago and this change caused a lot of problems. FFS started creating daily mirrors Mon, Tue, etc. instead of Monday, Tuesday, etc. and it took me a while to figure out what was going on. A better approach would have been to leave %WeekDay% alone and just add new macros %WeekDayShortName% and %WeekDayNum%.
stg
Posts: 4
Joined: 15 Aug 2018

Post by stg

I too have just been hit with this change, I redonated and downloaded the new version (previosly was on 10.4) and now I have lots of space used up (624Gb) and the backups were taking hours, so I had to spend hours wondering what had happened.

It would of been better to ADD new macros instead of altering existing ones.
P.S.
I still love this software and thank you for writing it. :-)