-
Notifications
You must be signed in to change notification settings - Fork 111
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
When Phone is in 12-hours mode events become 24hours long #173
Comments
🤔 try to set |
Nothing changes: correctly displayed for 24-hours system and with that strange behaviour for the 12-hours system |
That's the way I am creating the events, fyi |
could you print |
For the following code
I get these outputs for 12-hours system:
And these for the correct 24-hours system:
|
I'll check this but I think the problem is related to |
Okay, thanks! Please let me know if you find something! |
Could not reproduce, works fine for me 🤔 |
well, that's strange. Did you change the entire iPhone hour-system, right? |
I fixed it in TimelineView.swift as below and solved it. Before
After
|
Could you create a PR with your fix, pls? |
Hello,
In the process of testing my app using the KVKCalendar, I noticed that whenever the iPhone has the 12-hours layout (e.g. 15.15 is 3.15 pm), the length of the events displayed is wrong: instead of the actual length they becomr 24-hours long (see screenshot). I tried to set
style.timeSystem = TimeHourSystem.twentyFour
but nothing has changed.Is this a bug? Or are there some other style-settings useful to solve the problem?
Thanks!
The text was updated successfully, but these errors were encountered: