humhub / calendar

Create one-time or recurring events, invite and manage attendees, and keep track of all your events with the Calendar module.
28 stars 46 forks source link

Fix autocorrector of the time inputs #409

Closed yurabakhtin closed 1 year ago

yurabakhtin commented 1 year ago

Related to issue: https://github.com/humhub/calendar/issues/393, bug after this commit https://github.com/humhub/calendar/commit/cf1ae693ee6441d3c014bd3f43233593a1890cd7:

When we select "PM", we can only create events with a length of 1 hr. No matter what time you enter in "PM", the second time ALWAYS jumps to an hour before or after. It is not possible to enter events longer than 1 hour in the afternoon. But we have events that are longer. This bug should be fixed IMMEDIATELY.

PS: if you enter "AM", everything is OK, then you can enter longer events. The problem only occurs when you click PM.