[GRANTED] Tweak: Show Age Limit

Features wanted...
TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: Tweak: Show Age Limit

Post by TheQwerty »

TheQwerty wrote:
admin wrote:You mean it does not work?
It works! I was only pointing out that it's missing a comment in the INI file, so it is not only an undocumented tweak but also a tweak in hiding. ;)
All better - thank you for marking it as such!

Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

Re: [GRANTED] Tweak: Show Age Limit

Post by Marco »

I use the tweak AgeDecimalPlaces=-1 from time to time and I'm very pleased!
As far as I can see, you use the following pairs to express time: mins+secs, hrs+mins, days+hrs, yrs+days. Can I suggest to split the last pair in something like months+days and yrs+months, or even wks+days, months+wks, yrs+months? The rationale behind this is that brain maps time in logarithmic fashion ( http://infoscience.epfl.ch/record/15480 ... 20line.pdf ), and the on screen format should follow accordingly by picking the two larger units possible.
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

admin
Site Admin
Posts: 64841
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: [GRANTED] Tweak: Show Age Limit

Post by admin »

Weeks would be okay, but months is difficult since they are different in length.

Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

Re: [GRANTED] Tweak: Show Age Limit

Post by Marco »

Do you use your own custom code or VB6 functions to calculate date differences?
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

admin
Site Admin
Posts: 64841
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: [GRANTED] Tweak: Show Age Limit

Post by admin »

Own code.

LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: [GRANTED] Tweak: Show Age Limit

Post by LittleBiG »

Bug: when a file is fresh, age can be negative number:
Attachments
2015-05-27_11h05_14.png
2015-05-27_11h05_14.png (3.21 KiB) Viewed 3033 times

admin
Site Admin
Posts: 64841
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: [GRANTED] Tweak: Show Age Limit

Post by admin »

XY just reports the facts. In this case the app that created the file has set a (very slightly) wrong date.

OTOH I'm surprised that you see msecs. Did you tick Show Milliseconds?

admin
Site Admin
Posts: 64841
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: [GRANTED] Tweak: Show Age Limit

Post by admin »

OK, I could repro it...

LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: [GRANTED] Tweak: Show Age Limit

Post by LittleBiG »

It shows this now:

AgeDecimalPlaces = -1
0 secs (I would prefer 0 sec)
Sometimes 1 sec, sometimes 1 secs (I would prefer always 1 sec)
2 secs
3 secs

AgeDecimalPlaces = -2
0 secs (I would prefer 0s)
1 sec (I would prefer 1s)
2s
3s

Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

Re: [GRANTED] Tweak: Show Age Limit

Post by Marco »

LittleBiG wrote:AgeDecimalPlaces = -1
0 secs (I would prefer 0 sec)
0 secs is correct - check http://ell.stackexchange.com/questions/ ... or-seconds
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

admin
Site Admin
Posts: 64841
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: [GRANTED] Tweak: Show Age Limit

Post by admin »

Yes, 0 secs is correct.

But the other little glitches....well, it's a long way to perfection... :whistle:

RalphM
Posts: 2042
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: [GRANTED] Tweak: Show Age Limit

Post by RalphM »

I would actually prefer a more flexible approach to "Show maximum age in hours" where it is showing the age only if {the date part = today}.
So I get the age for everything of today and the proper dates for everything older.
Ralph :)
(OS: W11 24H2 Home x64 - XY: Current x32 beta - Office 2024 32-bit - Display: 1920x1080 @ 125%)

admin
Site Admin
Posts: 64841
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: [GRANTED] Tweak: Show Age Limit

Post by admin »

Yes, I share your desire.It will come...

RalphM
Posts: 2042
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: [GRANTED] Tweak: Show Age Limit

Post by RalphM »

Thanks in advance then...
Ralph :)
(OS: W11 24H2 Home x64 - XY: Current x32 beta - Office 2024 32-bit - Display: 1920x1080 @ 125%)

Post Reply