-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Datepicker range issue with 12h time format #228
Comments
I can confirm this bug... but... only with the combination of UK Region settings (in Language & Region) along with 12 hour time format (in Date & Time)... fun! I'm not sure if other regions have this bug... but if the Region is set to USA then both 12 and 24 hour time formats work. |
Can confirm, I am using UK regional settings. Should have mentioned that at
the time.
Kind Regards,
Graeme Urquhart
…On Mon, 14 Oct 2024 at 21:46, Kevin M. White ***@***.***> wrote:
I can confirm this bug... but... only with the combination of UK Region
settings (in Language & Region) along with 12 hour time format (in Date &
Time)... fun!
I'm not sure if other regions have this bug... but if the Region is set to
USA then both 12 and 24 hour time formats work.
—
Reply to this email directly, view it on GitHub
<#228 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMF7CIBCOTRDXB5NYLOPN2TZ3QUSTAVCNFSM6AAAAABPZG24R6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJSGI4TCNRXGY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Yes I was able to replicate it, I just need to check if it's an Apple bug or an IBM Notifier one. Will update this thread with the answer! |
@SMartorelli any update on this one? |
It's a bit complicated to explain, but this issue relates to how Apple handles Date() and DatePicker() based on the system's time settings. Unfortunately, due to the lack of customization that still affects some SwiftUI components, this will be difficult to manage in IBM Notifier. However, there is a workaround that prevents the app from going off track. I've attached a small script I created that handles converting times back and forth. You can use it as an example.
|
Describe the bug
Setting the system time to 12hr allows datepicker to go beyond the set /end_date
To Reproduce
Expected behavior
Regardless of 12hr or 24hr time, the user should not be able to select a date beyond the /end_date
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
First noticed this issue when using SUPERMAN, but was able to re-create with just Notifier.
The text was updated successfully, but these errors were encountered: