Closed Avygeil closed 8 years ago
Could you try to test it at first? Once you done I will merge.
It also break the default format which is %t_%m. I think time parsing should be in some other format like %tm etc.
Works fine, tried some nice folder hierarchy with seta cl_autoDemoFormat "%Y/%b/%d/%s/%t_%n_%N"
When I said to change formatting, I told to change the format of that fancy time, not default value of cvar. %m is best for map (and definitely it is not %N). Change time formatting to something different, it's less needed than map so if it has higher priority for already existing keys than it sucks. I offered something like 2 keys after % like %tm. This time formatting will be used by minor users at all, so it has to have lower priority to current keys.
strftime timestamps make it very easy to organize demos on a folder hierarchy (like year/month/day etc). Some tokens were commented because they contain illegal characters in OS file paths, and some old tokens were renamed since they were using reserved strftime tokens.
This is a modified merge, I didn't try to compile it but it should work fine as it did on cgame.