Re: change "timeformat_old" from 6 months to 1 year

2016-09-26 Thread Mooffie
On 9/20/16, Fourhundred Thecat <400the...@gmx.ch> wrote: >> On 2016-09-19 05:11, Mooffie wrote: >> That expression (6 * 30 * 24 * 60 * 60) equals 0x00ed4e00. Use MC's >> viewer to edit /usr/bin/mc: press for hex view. Search for "00 4e >> ed 00" (assuming little endian). > > I did not manage to

Re: change "timeformat_old" from 6 months to 1 year

2016-09-20 Thread Fourhundred Thecat
> On 2016-09-19 05:11, Mooffie wrote: > > On 9/19/16, Mooffie wrote: >> >> One possibility is to modify MC's source code: >> >> https://source.midnight-commander.org/S/lib--timefmt.c.html#L133 >> >> Change the "6L" (six months) to "12L". > > Or you can edit the MC binary

Re: change "timeformat_old" from 6 months to 1 year

2016-09-18 Thread Yury V. Zaytsev
On Mon, 19 Sep 2016, Mooffie wrote: On 9/19/16, Mooffie wrote: One possibility is to modify MC's source code: https://source.midnight-commander.org/S/lib--timefmt.c.html#L133 Change the "6L" (six months) to "12L". Or you can edit the MC binary directly. That

Re: change "timeformat_old" from 6 months to 1 year

2016-09-18 Thread Mooffie
On 9/19/16, Mooffie wrote: > > One possibility is to modify MC's source code: > > https://source.midnight-commander.org/S/lib--timefmt.c.html#L133 > > Change the "6L" (six months) to "12L". Or you can edit the MC binary directly. That expression (6 * 30 * 24 * 60 * 60)

Re: change "timeformat_old" from 6 months to 1 year

2016-09-18 Thread Mooffie
On 9/18/16, Fourhundred Thecat <400the...@gmx.ch> wrote: > Hello, > > I am using different date formats for "timeformat_recent" and > "timeformat_old": > > [Misc] > timeformat_recent=%b %e %H:%M > timeformat_old=%Y %b %e %H:%M > > which gives me nice, clean dates, where new files are