Winstep

Software Technologies


 Winstep Forums


Print view
Board index : Winstep Forums : General Discussion  [ 10 posts ]
Author Message
 Post subject: System Tray Clock and Date Format
PostPosted: Thu Jul 05, 2018 1:48 pm 
Offline

Joined: Tue Jul 03, 2018 8:23 pm
Posts: 31
Hi... I've realized the date format on the systemtray is not customizable, nor respects the local international configuration.... Can this be edited somewhere?

Thanks


Attachments:
wsDate.png
wsDate.png [ 6.28 KiB | Viewed 13956 times ]
Back to top
 Profile  
 
 Post subject: Re: System Tray Clock and Date Format
PostPosted: Thu Jul 05, 2018 3:31 pm 
Offline
Site Admin
Site Admin
User avatar

Joined: Thu Feb 26, 2004 8:30 pm
Posts: 11930
No, they can't be configured, both the date and the time are displayed in the short format specified for LOCALE_USER_DEFAULT .

_________________
Jorge Coelho
Winstep Xtreme - Xtreme Power!
http://www.winstep.net - Winstep Software Technologies


Back to top
 Profile WWW 
 
 Post subject: Re: System Tray Clock and Date Format
PostPosted: Wed Jul 25, 2018 4:18 am 
Offline

Joined: Tue Jul 03, 2018 8:23 pm
Posts: 31
winstep wrote:
No, they can't be configured, both the date and the time are displayed in the short format specified for LOCALE_USER_DEFAULT .


Then I think there's something wrong. Please see attached image


Attachments:
wsDate2.png
wsDate2.png [ 67.11 KiB | Viewed 13923 times ]
Back to top
 Profile  
 
 Post subject: Re: System Tray Clock and Date Format
PostPosted: Thu Jul 26, 2018 5:30 am 
Offline
Global Moderator
Global Moderator
User avatar

Joined: Mon Jan 14, 2013 9:51 pm
Posts: 337
Location: Oregon, USA
Since I'm very familiar the dd-MMM-yy format, I thought I'd give this a try.

The NextSTART date is also not picking up the system's short date setting. See the image below. I'm running Windows 10 version 1803 (build 17134.165).

Image

I wanted to chime in with this before you finalized the version you're working on now, Jorge.


Back to top
 Profile  
 
 Post subject: Re: System Tray Clock and Date Format
PostPosted: Thu Jul 26, 2018 5:53 am 
Offline
Site Admin
Site Admin
User avatar

Joined: Thu Feb 26, 2004 8:30 pm
Posts: 11930
Ok, you guys are right, sorry.

The API calls were indeed using the LOCALE_USER_DEFAULT format, but for some reason they were also using the LOCALE_NOUSEROVERRIDE flag which basically threw away user preferences - and I only noticed it now when looking again into this.

No idea why it was like that, it's a years old piece of code.

Fixed, should be working fine in the next release.

_________________
Jorge Coelho
Winstep Xtreme - Xtreme Power!
http://www.winstep.net - Winstep Software Technologies


Back to top
 Profile WWW 
 
 Post subject: Re: System Tray Clock and Date Format
PostPosted: Fri Jul 27, 2018 6:52 am 
Offline
Global Moderator
Global Moderator
User avatar

Joined: Mon Jan 14, 2013 9:51 pm
Posts: 337
Location: Oregon, USA
It's strange. Is that NoUserOverride only applicable to the date, because the time change worked fine. I had switched my system's time to 24-hour format while playing with the date and the time change worked but the date didn't.


Back to top
 Profile  
 
 Post subject: Re: System Tray Clock and Date Format
PostPosted: Fri Jul 27, 2018 8:19 am 
Offline
Site Admin
Site Admin
User avatar

Joined: Thu Feb 26, 2004 8:30 pm
Posts: 11930
DesertDwarf wrote:
It's strange. Is that NoUserOverride only applicable to the date, because the time change worked fine. I had switched my system's time to 24-hour format while playing with the date and the time change worked but the date didn't.


For some reason I also had code there set to deliberately change a '-' date separator into '/'. :oops: Probably a left over from the Win9x days lol

_________________
Jorge Coelho
Winstep Xtreme - Xtreme Power!
http://www.winstep.net - Winstep Software Technologies


Back to top
 Profile WWW 
 
 Post subject: Re: System Tray Clock and Date Format
PostPosted: Fri Aug 03, 2018 4:23 am 
Offline

Joined: Tue Jul 03, 2018 8:23 pm
Posts: 31
winstep wrote:
DesertDwarf wrote:
It's strange...


For some reason I also had code there set to deliberately change a '-' date separator into '/'. :oops: Probably a left over from the Win9x days lol


I can now confirm that in version 18.08 it's been fixed :D

Attachment:
wsDate3.png
wsDate3.png [ 25.12 KiB | Viewed 13845 times ]


Back to top
 Profile  
 
 Post subject: Re: System Tray Clock and Date Format
PostPosted: Fri Aug 03, 2018 12:22 pm 
Offline
Site Admin
Site Admin
User avatar

Joined: Thu Feb 26, 2004 8:30 pm
Posts: 11930
Thanks for letting me know! :)

Have you already tried the new vertical shelves, multiple shelves and shelf scaling abilities? There's also a new thing called 'Drawers' :)

_________________
Jorge Coelho
Winstep Xtreme - Xtreme Power!
http://www.winstep.net - Winstep Software Technologies


Back to top
 Profile WWW 
 
 Post subject: Re: System Tray Clock and Date Format
PostPosted: Fri Aug 03, 2018 7:32 pm 
Offline

Joined: Tue Jul 03, 2018 8:23 pm
Posts: 31
winstep wrote:
Thanks for letting me know! :)

Have you already tried the new vertical shelves, multiple shelves and shelf scaling abilities? There's also a new thing called 'Drawers' :)


Hi Jorge. That sound exciting. Gonna try them rigth now. Meanwhile, i have posted some suggestions.

Greetings


Back to top
 Profile  
 
Post new topic Reply to topic Board index : Winstep Forums : General Discussion  [ 10 posts ]
Display posts from previous:  Sort by  

Who is online

Users browsing this forum: Google [Bot] and 56 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron