Winstep Forums
http://forums.winstep.net/phpBB2/

System Tray Clock and Date Format
http://forums.winstep.net/phpBB2/viewtopic.php?f=2&t=10721
Page 1 of 1

Author:  SullyPanda76cl [ Thu Jul 05, 2018 1:48 pm ]
Post subject:  System Tray Clock and Date Format

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 14273 times ]

Author:  winstep [ Thu Jul 05, 2018 3:31 pm ]
Post subject:  Re: System Tray Clock and Date Format

No, they can't be configured, both the date and the time are displayed in the short format specified for LOCALE_USER_DEFAULT .

Author:  SullyPanda76cl [ Wed Jul 25, 2018 4:18 am ]
Post subject:  Re: System Tray Clock and Date Format

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 14240 times ]

Author:  DesertDwarf [ Thu Jul 26, 2018 5:30 am ]
Post subject:  Re: System Tray Clock and Date Format

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.

Author:  winstep [ Thu Jul 26, 2018 5:53 am ]
Post subject:  Re: System Tray Clock and Date Format

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.

Author:  DesertDwarf [ Fri Jul 27, 2018 6:52 am ]
Post subject:  Re: System Tray Clock and Date Format

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.

Author:  winstep [ Fri Jul 27, 2018 8:19 am ]
Post subject:  Re: System Tray Clock and Date Format

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

Author:  SullyPanda76cl [ Fri Aug 03, 2018 4:23 am ]
Post subject:  Re: System Tray Clock and Date Format

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 14162 times ]

Author:  winstep [ Fri Aug 03, 2018 12:22 pm ]
Post subject:  Re: System Tray Clock and Date Format

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' :)

Author:  SullyPanda76cl [ Fri Aug 03, 2018 7:32 pm ]
Post subject:  Re: System Tray Clock and Date Format

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

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/