Invalid date (Info panel > Properties tab)

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
RedElbows
Posts: 4
Joined: 01 Aug 2017 19:56

Invalid date (Info panel > Properties tab)

Post by RedElbows »

Yesterday, I updated from version 18.10.0000 to 18.20.0000, then a short time later from version 18.20.0000 to 18.20.0100.

"Show Milliseconds" is now displaying to only three decimal places, whereas before it was displaying to seven decimal places. This, in turn, is giving me an "Invalid date" error when I attempt to modify the timestamp, and I think it's being caused by the way the milliseconds are being displayed… but I don't know for certain.

Is this a bug or a configuration issue??

Image

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

Re: Invalid date (Info panel > Properties tab)

Post by admin »

Confirmed and fixed (next beta), thanks!

RedElbows
Posts: 4
Joined: 01 Aug 2017 19:56

Re: Invalid date (Info panel > Properties tab)

Post by RedElbows »

That's awesome… thanks!! However, timestamps in the properties tab are still only displaying milliseconds to three decimal places (v.18.20.0102). I've downgraded to v.18.10.0100 (for now) and milliseconds are again displaying seven decimal places.

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

Re: Invalid date (Info panel > Properties tab)

Post by admin »

RedElbows wrote:That's awesome… thanks!! However, timestamps in the properties tab are still only displaying milliseconds to three decimal places (v.18.20.0102). I've downgraded to v.18.10.0100 (for now) and milliseconds are again displaying seven decimal places.
Yes, I recently made it that everywhere the same number of decimal places is displayed. (see viewtopic.php?p=151309#p151309)

Ha, but now I remember why I had always 7 digits in the properties tab! I wanted to deliver maximum precision where screen space does not matter. I will change it back. (Hope you understand, Marco)

BTW, you can change the number of decimal places using this (officially undocumented) script command:

Code: Select all

syntax: msecs [show], [numberofdecimalplaces], [cropzeros]

Examples:
msecs;   // toggle
msecs 0; // turn on
msecs 1; // turn off
msecs(1, 0); // turn on, set to factory default (3 places)
msecs(1, 3); // turn on, set to 3 places (factory default)
msecs(1, 7); // turn on, set to 7 places (maximum
msecs(1, 4, 1);  // turn on, set to 4 places, crop trailing zeros

Post Reply