My request is for there to be a leading zero when the date/time components are only one character-wide.
[face=courier]9:47:26[/face] would display as [face=courier]09:47:26[/face] in the log.
Not high priority, though.
A future enhancement might be for the log to be posted in the syntax of a user's chosen scripting language. TC could look at a command template file and use it to post to the log in AHK, or VBS, or PERL, or any language for which a template had been provided. That seems to me relatively easy to code and would essentially turn TC into an automaton/recorder for the chosen scripting language. A small performance deficit during the log posting would occur.
Time format ist H:mm:ss bei mir in regional settings, ich denke das ist das problem. Da hat eigentlich Christian recht, dass TC die lokale windows datum und zeitformat nimmt, weil es zu viele alternativen gibt. Mein wunsch daher wäre, das man dies in Optionen einstellen könnte.
EDIT: oops, in english:
Time format is H:mm:ss in regional settings here. i think this is the problem. Christian is right, in taking the system format as it can differ just too much. My request will be in this case: to have an option to set the format for the logfile.
I switched to Linux, bye and thanks for all the fish!
2ghisler(Author)
Maybe JohnFredC doesn't have leading 0's because he is using US time convention with AM/PM setting?
But there is more to it than that:
I tried to set my PC to English(USA) for time format, and USA as location, and set TC to use AM/PM format - but even then I cannot get a reading like JohnFredC's
11/13/2006 9:47:26 AM:
I get:
11/13/2006 09:47:26:
My normal (Danish) output is:
13-11-2006 09:47:26:
I also tried on my wife's PC which has a pure US WIndows XP SP2 - also here I get the output as:
11/13/2006 09:47:26:
So how does JohnFredC get his time format in the log files. It must be OS related. What OS are you using JohnFredC?
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14 TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Well H is not an option on a Danish Windows it is T. But if I set it to:
t:mm:ss
I get it JohnFredC's output
I do NOT get it if I use:
T:mm:ss
...wich corresponds to your H:mm:ss - if I don't use a lowercase hour symbol I don't get the AM/PM suffix.
But anyway: It seems that JohnFredC should just go into Windows International setting, choose another language and then choose his own language (English (United States)) again, then he should get the leading 0's back ?
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14 TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
But anyway: It seems that JohnFredC should just go into Windows International setting, choose another language and then choose his own language (English (United States)) again, then he should get the leading 0's back ?
I dont think so. He should manually adjust the regional settings time format. Not really good, but we hope Christian will give us the option ot set the date and time format manually only for the logfile.
I switched to Linux, bye and thanks for all the fish!
ghisler(Author) wrote:I will add a leading 0 even if the regional settings do not use it.
That is only a half solution. What if I want a completely different datetime format, than the defined one and i dont want to ruin the system settings? Please make it simple for us even for yourself, and give us an option to set the entire format.
I switched to Linux, bye and thanks for all the fish!