Date info in status bar

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
graham
Posts: 457
Joined: 24 Aug 2007 22:08
Location: Isle of Man

Post by graham »

yes, just time - I am totally baffled by this and guess there must be some other setting conflicting or altering it but I am at a loss to know what or why!

I don't tend to alter much so the XY config settings are standard as far a I know.

There is a bug lurking in this

I just altered the settings in the list modified column from 19/06/2008 (ticked) and 23:57;57 (ticked) to
19/06/2008 and 23:58 (changed tick entry) and for xyplorer.exe I get

XYplorer.exe, v7.20.0013, mod 2223ort Ti55e

for ini file it changes last bit to 4023ort Ti47e

Ah Ha, just tried changing date to dd/mm/yy (ticked) and this time it displays the status line correctly.

Other settings in date can also create strange display results - Bug

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Post by serendipity »

Something strange for me too.
I have selected and focused a file which was:
created 18/6/2008 at 23:40
modified 21/4/2008 at 10:58

::msg <datec> gives 1723ort Ti40e
::msg <datem> gives 1810ort Ti58e

Also, I tried ::msg <date> which gives 2022ort Ti9e (date and time: 19/6/2008 22:09)

Some of it makes sense, but anyway looks like a bug.

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

Post by admin »

serendipity wrote:Something strange for me too.
I have selected and focused a file which was:
created 18/6/2008 at 23:40
modified 21/4/2008 at 10:58

::msg <datec> gives 1723ort Ti40e
::msg <datem> gives 1810ort Ti58e

Also, I tried ::msg <date> which gives 2022ort Ti9e (date and time: 19/6/2008 22:09)

Some of it makes sense, but anyway looks like a bug.
Yep, if you squinch your eyes you can see it:
1723ort Ti40e = Short Time :lol:

Fixing it...

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Post by TheQwerty »

I wonder if something should be done about this as it can be a bit confusing.

If you have a file selected <datem> returns the date/time modified using the column formatting.
If you don't have a file selected <datem> returns the current month.

It makes sense but it can be a bit confusing at first.
------------------

No offense Don, but I think you should have thought this change out better (and not while you were obviously distracted by football :P ) using the whitespace to determine the formatting makes this messy.

The system formatting was already available in the formatting strings, so the shortcut for that wasn't that much of a necessity.

I think it would have made more sense to just add to the formatting variables available and do some of your own parsing in addition to the date/time formatter.

Such as:
cc => Current Column Format
z => Zodiac
aa => Age
isoW => ISO Week

EDIT: Which it looks like you're somewhat doing now. :oops:

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

Post by admin »

TheQwerty wrote:I wonder if something should be done about this as it can be a bit confusing.

If you have a file selected <datem> returns the date/time modified using the column formatting.
If you don't have a file selected <datem> returns the current month.

It makes sense but it can be a bit confusing at first.
------------------

No offense Don, but I think you should have thought this change out better (and not while you were obviously distracted by football :P ) using the whitespace to determine the formatting makes this messy.

The system formatting was already available in the formatting strings, so the shortcut for that wasn't that much of a necessity.

I think it would have made more sense to just add to the formatting variables available and do some of your own parsing in addition to the date/time formatter.

Such as:
cc => Current Column Format
z => Zodiac
aa => Age
isoW => ISO Week

EDIT: Which it looks like you're somewhat doing now. :oops:
Football is still going on so my mind is dizzy... but: what exactly is your problem?

> If you don't have a file selected <datem> returns the current month
I'll fix that.

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Post by TheQwerty »

admin wrote:Football is still going on so my mind is dizzy... but: what exactly is your problem?
Just that the way you've implemented this is a bit messy and can lead to confusion. I think you should reconsider using whitepsace to determine the format.

To me it would have been a much cleaner and easier to follow implementation if instead of using <date> and <date > you just added new format variables to get the column formatting.

<date cc> could replace the cc with the column formatting.
<date > was already available via <date ddddd ttttt>

Plus I think it would have been far easier to document.

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

Post by admin »

TheQwerty wrote:
admin wrote:Football is still going on so my mind is dizzy... but: what exactly is your problem?
Just that the way you've implemented this is a bit messy and can lead to confusion. I think you should reconsider using whitepsace to determine the format.

To me it would have been a much cleaner and easier to follow implementation if instead of using <date> and <date > you just added new format variables to get the column formatting.

<date cc> could replace the cc with the column formatting.
<date > was already available via <date ddddd ttttt>

Plus I think it would have been far easier to document.
Okay, I agree that it's a bit unintuitive.

(1) I would expect <date> to use the system format, not the list column formatting.
(2) <date > indeed looks odd: away with it!
(3) <date cc> ... hmm, maybe <date list> is easier to remember and to comunicate.

So I'm ready to make these adjustments. Any objections??

aurumdigitus
Posts: 1075
Joined: 30 May 2008 21:02
Location: Lake Erie

Re: Definition of a tweak

Post by aurumdigitus »

j_c_hallgren wrote:
aurumdigitus wrote:Does tweak mean it will be implemented in the next beta version? "Inquiring minds want to know." 8)
Next beta? Where have you been? :roll: The tweak is now 2 vers in the past! It was done in 7.20.10 and now we're on 7.20.13! Gotta keep up with things around here! It's not like your usual software that makes beta vers once a week/month!
This observation undoubtedly elicited inestimable mirth from the regular readers of the forum.

To an acolyte that has just registered the software it was condescending.

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Re: Definition of a tweak

Post by j_c_hallgren »

aurumdigitus wrote:To an acolyte that has just registered the software it was condescending.
:( Sorry if that how you took it and were in any way offended! It certainly wasn't meant that way, but rather an attempt to humorously point out that things move pretty quickly around here, and let you know that wishes can be fulfilled sooner than one may expect. XY is not your typical software and just hoped to make sure you knew that.


Also, maybe <date col> instead of <date list>? While I was making blog entry, I was thinking "this is a bit hard to see" by using a "<date >".
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Post by TheQwerty »

admin wrote:Okay, I agree that it's a bit unintuitive.

(1) I would expect <date> to use the system format, not the list column formatting.
(2) <date > indeed looks odd: away with it!
(3) <date cc> ... hmm, maybe <date list> is easier to remember and to comunicate.

So I'm ready to make these adjustments. Any objections??
I chose cc only because it was unused; though it kind of relates to c (System's short date/time).

What are your thoughts on <date col>?

It might be better suited for change/extension if the columns are ever able to be formatted differently.

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: Definition of a tweak

Post by serendipity »

aurumdigitus wrote:
j_c_hallgren wrote:
aurumdigitus wrote:Does tweak mean it will be implemented in the next beta version? "Inquiring minds want to know." 8)
Next beta? Where have you been? :roll: The tweak is now 2 vers in the past! It was done in 7.20.10 and now we're on 7.20.13! Gotta keep up with things around here! It's not like your usual software that makes beta vers once a week/month!
This observation undoubtedly elicited inestimable mirth from the regular readers of the forum.

To an acolyte that has just registered the software it was condescending.
Hi aurumdigitus,
It was all in good spirit and JC was just pointing out the pace of development which can catch not only newbies but also regular users unawares. For all I know JC doesnt offend anybody. So i hope you are not too pissed by all this.
enjoy.

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

Post by admin »

TheQwerty wrote:
admin wrote:Okay, I agree that it's a bit unintuitive.

(1) I would expect <date> to use the system format, not the list column formatting.
(2) <date > indeed looks odd: away with it!
(3) <date cc> ... hmm, maybe <date list> is easier to remember and to comunicate.

So I'm ready to make these adjustments. Any objections??
I chose cc only because it was unused; though it kind of relates to c (System's short date/time).
Uh, I don't get that one... c = System's short date/time?? :?

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Post by TheQwerty »

admin wrote:Uh, I don't get that one... c = System's short date/time?? :?
"c" is equivalent to "ddddd ttttt".
"ddddd" is the System's short date format.
"ttttt" is the System's time format.

And that's what Windows Explorer uses for its date/time columns.

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

Post by admin »

TheQwerty wrote:
admin wrote:Uh, I don't get that one... c = System's short date/time?? :?
"c" is equivalent to "ddddd ttttt".
"ddddd" is the System's short date format.
"ttttt" is the System's time format.

And that's what Windows Explorer uses for its date/time columns.
Indeed! I did not know that... :oops:

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Post by jacky »

So here's is a thought I had early on, but that seemed odd at the time : how about using a script there ??

Of course, because a script can do many many things, it doesn't seem to apply, really. But now with recent changes I actually think that here's an idea I would like : you know how it's been mentioned that executing scripts on certain actions would be nice, for example I'm waiting for the day I'll be able to assign scripts to my middle-clicks (on Tree and List), I know some liked the idea of a script ran when dbl-clicking on a tab, or empty space on List.

Well, adding to the list, how about the idea of a script executed whenever a file gets selected ? Because let's be honest here : I usually don't care about the filename showing up on my statusbar, I can read it on List.
But I'm already thinking of a script that whenever a file gets selected in a given folder, would show some info about it on the statusbar for me. Right now I can already do that, but I need to manually trigger the script each time, so that's either some KS or a few clicks to do for each file, not very good.

But with a script executed automatically on item selection, I'd just have to look down and read the info !! :D

I don't know about others, but for me that might be actually quite cool. For instance, I already have one or two folders where I could use that as a way to deal with "file comments", given how I have the scripts already done, but need to manually trigger them each time.
Proud XYplorer Fanatic

Post Reply