You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should be HOUR_OF_DAY instead of HOUR since HOUR is AM/PM 0-12 (12 hour format). So if you are in PM you will actually get 0PM which is 12 hours in 24 hour format.
Since Calendar has its problems and is pretty old we should migrate to Java Time. Thus remove Calendar and provide Java Time.
The text was updated successfully, but these errors were encountered:
Del-S
changed the title
Fix calendar normalize
Remove Calendar extensions (+ add JavaTime extensions)
Mar 2, 2022
kaal/kaal-core/src/main/kotlin/cz/eman/kaal/core/util/CalendarExtensions.kt
Line 18 in b2b2183
Should be HOUR_OF_DAY instead of HOUR since HOUR is AM/PM 0-12 (12 hour format). So if you are in PM you will actually get 0PM which is 12 hours in 24 hour format.Since Calendar has its problems and is pretty old we should migrate to Java Time. Thus remove Calendar and provide Java Time.
The text was updated successfully, but these errors were encountered: