danheron / Heron.MudCalendar

Calendar component for MudBlazor
MIT License
151 stars 30 forks source link

CellClicked event incorrect time value #98

Closed APusch-Tenno closed 6 months ago

APusch-Tenno commented 6 months ago

Hello,

I found another issue while testing. When clicking on an empty cell the CellClicked event gets called and is supposed to submit the (start) time of the current cell. In my case I have set the interval to 10 min and if I click on each of the 6 cells per hour (each hour the same effect) I get the following time values (example hour 9-10): 9:00 9:09 <-- 9:20 9:30 9:39 <-- 9:50

I assume this is another localization issue and/or a rounding error.

danheron commented 6 months ago

Seems like a bug. I will fix it.