YukiGasai / obsidian-google-calendar

Add Google Calendar inside Obsidian
https://yukigasai.github.io/obsidian-google-calendar/
GNU General Public License v3.0
342 stars 24 forks source link

Date resets after changing one char #208

Closed g1ronn1mo closed 10 months ago

g1ronn1mo commented 10 months ago

When trying to insert a start or end day, the expected behaviour should be that when trying to upate one part of the date the other partes should stay the same and do not get reset.

For now, the date gets resettet to tt-mm-jjjj --:-- after edeting one part of the formular.

Best regards

YukiGasai commented 10 months ago

I was not able to figure out, why entering a 0 resets the complete input field, but I think I found a workaround. I also replaced the automatic date change with a check to make sure the start date is before the end date image Please test it yourself. You can close this issue if everything works as expected.

g1ronn1mo commented 10 months ago

Looks good to me.