function datepicker jump to month instead of selecting day (1..12)

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

: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: 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: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
roemer_m
Posts: 20
Joined: 10 Dec 2016 15:18

function datepicker jump to month instead of selecting day (1..12)

Post by roemer_m »

::text datepicker(, "yyyy-mm-dd");
is jumping everytime to month if user tries to select day in range 1 to 12

Version: 28.00.0500
OS: windows 10x64
DPI: 100%

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

Re: function datepicker jump to month instead of selecting day (1..12)

Post by admin »

Works fine here. Probably depends on regional settings. What are yours?

roemer_m
Posts: 20
Joined: 10 Dec 2016 15:18

Re: function datepicker jump to month instead of selecting day (1..12)

Post by roemer_m »

I am running on Win 10x64 22H2 Build 19045.6456 with german locale (see attachment).

I see three strange things happen:

1. ::text datepicker(); shows english date format (11/26/2025) instead of expected german date (26.11.2025).
2. There is also a mixed translation inside dialog datepicker: Button texts of dialog are not translated to german but textlabels are translated.
3. If I click days in range 1 to 12 the selected day leads to jump to that month (5 to may etc.)

Please find a short video showing that behaviour under https://ilflth8dyig8tfv8.myfritz.net:47 ... 17bc0b8245.

My last 32-bit xyPlorer 27.20.0100 is working normal on same settings - I upgraded it to 64bit.
You do not have the required permissions to view the files attached to this post.

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

Re: function datepicker jump to month instead of selecting day (1..12)

Post by admin »

Confirmed! :tup: Fixed in next beta.

(Could not repro the mixed translation issue; maybe it's been fixed along with the other fix)

roemer_m
Posts: 20
Joined: 10 Dec 2016 15:18

Re: function datepicker jump to month instead of selecting day (1..12)

Post by roemer_m »

Mixed translation issue persists but other two bugs are fixed with 28.00.0900 - thanks.

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

Re: function datepicker jump to month instead of selecting day (1..12)

Post by admin »

Using MLS 8.400?

roemer_m
Posts: 20
Joined: 10 Dec 2016 15:18

Re: function datepicker jump to month instead of selecting day (1..12)

Post by roemer_m »

Mixed translation still there in latest version 28.00.1200

I'm running german language only (no other language pack installed) using following OS:
Edition Windows 10 Pro
Version 22H2
Installiert am ‎28.‎04.‎2021
Betriebssystembuild 19045.6456

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

Re: function datepicker jump to month instead of selecting day (1..12)

Post by admin »

Didn't really answer my question.

roemer_m
Posts: 20
Joined: 10 Dec 2016 15:18

Re: function datepicker jump to month instead of selecting day (1..12)

Post by roemer_m »

Sorry I wasn't aware of language file outside of setup.

please try to reproduce:
::text datepicker(); //01.08.2015 (in German locale)
Used MLS Reference64_8.400.lng

Datepicker shows labels for selected date, weekdays and combobox nameOfmonth in german translation independent from chosen xyPlorer language (tested with english/magyar/french).

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

Re: function datepicker jump to month instead of selecting day (1..12)

Post by admin »

Okay, I see it now.

But I won't change it. Getting the dates right for each language/region is too hard and not worth the pain. The datepicker dialog is locale aware (month names, day names, long dates) which will be fine for 99% of all users.

Post Reply