How-to Date format like "dd-MMM-yy", Month name

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
pmennen
Junior Member
Junior Member
Posts: 13
Joined: 2006-01-27, 03:33 UTC

How-to Date format like "dd-MMM-yy", Month name

Post by *pmennen »

In the Region and Language control panel applet (Windows 7) I have the short date set to "dd-MMM-yy", so below that it shows an example of the Short date as "08-Nov-14". (My long date example is "08 November, 2014").

In windows explorer and some other file managers I have, the dates are shown properly and look pretty much like the example shown in the Region and Language Applet. However in Total Commander the Date is shown with a sequence of 3 numbers. To me the format I selected makes perfect sense. Nobody can misinterpret it. The 3 numbers on the other hand mean nothing to me. Half the world uses the first number for the day of the month and the other half uses the first number for the month. Granted, I'm now living in the US, but still I can never remember which is supposed to be which. Is there a way to make total commander follow the windows regional settings?

By the way ... I'm using the 8.51 version of total commander (x64).

Thanks
~Paul
User avatar
Stefan2
Power Member
Power Member
Posts: 4281
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Costumize the displayed date timestamp format plugins

Post by *Stefan2 »

Hi Paul.

I think there is no direct build-in way of doing this.



But you can use user defined Custom Columns.
There you can rebuild the default layout like "Name | Ext | Size | Date | Attr"


'Name' and 'Ext' are mandatory.

For size I have added '[=tc.size]'


The TC Plugin will provide you the default date format with month as numbers only (AFAIK)
The plug-in string to add the default date format is: [=tc.accessdate.D.M.Y h:m:s]




To add month names as string instead of number you have to use another plugin, as e.g. I found by a quick googling here:

http://en.totalcmd.pl/download/wdx/fls/DateNames
(Thanks Lefteous :thumpsup:)




This DateNames plugin will insert the full date name like 'November' (AFAISee)
[=datenames.Month (Access Date)]


But TC allows you to extract parts of such strings (press F1 key for more)
So for example you could use this like [=datenames.Month (Access Date):1-3] to get 'Nov' only.



Next I have combined the TC and the DateNames plugin to create the wanted "dd-MMM-yy" format:

[=tc.accessdate.D-][=datenames.Month (Access Date):1-3][=tc.accessdate.-Y h:m:s]

(Note the added hyphens behind D and in front of Y)


At last, for Attributes I have added '[=tc.attributestr]'

- - -

Example result:

AHK zwei Befehle\ <DIR> 08-Feb-2013 22:05:03 ----
Android ADB 7.4\ <DIR> 13-Jun-2014 21:44:55 ----
badcopy 1.0.0.1\ <DIR> 18-Mai-2012 20:35:41 ----


- - -

HTH?

But there are always many different way to do that with TC.
Maybe there is a better plugins?
By googling for tc plugins you will find some sites like
http://www.ghisler.com/dplugins.htm
http://en.totalcmd.pl/
http://www.totalcmd.net/


 
pmennen
Junior Member
Junior Member
Posts: 13
Joined: 2006-01-27, 03:33 UTC

Re: Costumize the displayed date timestamp format plugins

Post by *pmennen »

Stefan2 wrote: To add month names as string instead of number you have to use another plugin, as e.g. I found by a quick googling here:
http://en.totalcmd.pl/download/wdx/fls/DateNames 
Hi Stefan.

It looked like you found a solution for me ... however when I tried to install the DateNames plugin it wouldn't let me. It said it was a 32-bit plugin, but I have a 64-bit system. So it looks like it won't work.

Are you sure Total Commander can't follow the windows regional settings? It seems like a pretty basic thing for a file manager. Plus I found some other threads in the forum that suggested using the regional settings implying that they actually can be used by Total Commander.

Thanks
~Paul
User avatar
Ovg
Power Member
Power Member
Posts: 755
Joined: 2014-01-06, 16:26 UTC

Post by *Ovg »

2pmennen

You are trying old version, right link here:
http://www.totalcmd.net/plugring/DateNames.html
It's impossible to lead us astray for we don't care even to choose the way.
#259941, TC 11.01 x64, Windows 7 SP1 x64
pmennen
Junior Member
Junior Member
Posts: 13
Joined: 2006-01-27, 03:33 UTC

Post by *pmennen »

Ovg wrote:2pmennen
You are trying old version, right link here:
http://www.totalcmd.net/plugring/DateNames.html
Ok ... wow. That works now!
One problem however is that my custom column setup only is applied to my upper view pane. How do I get the lower view pane to also use the custom columns? (I tried defining a new custom column view, but that just seemed to over-ride the first one).

I couldn't find directions for using the custom column dialog anywhere ... so it was just trial and error.

Thanks
~Paul
User avatar
Stefan2
Power Member
Power Member
Posts: 4281
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Post by *Stefan2 »

pmennen wrote: One problem however is that my custom column setup only is applied to {one} pane.

How do I get the {other} pane to also use the custom columns?
Try right-clicking the header of e.g. the Name column to choose the wanted view.

You should also get this views available from the "Show" menu.


 
pmennen
Junior Member
Junior Member
Posts: 13
Joined: 2006-01-27, 03:33 UTC

Post by *pmennen »

Ok, using your suggestion it now works in both panes ... but only sort of. It only works for local disks. For my phone, tablet, ftp sites, and even some libraries no date at all is shown. Since I use all of those a lot, this method of displaying the date is essentially useless. I find it surprising that the Total Commander authors think that 3 numbers is the only appropriate way to display a date. Since the order of these numbers is not standardized I find that format quite meaningless. Even windows explorer honors my regional date setting, although in truth windows explorer is so primitive in most other respects I can't stomach using it.. Total commander looked so promising and I spent a lot of time configuring it ... but I guess I'm back on the search for a usable file manager.
Post Reply