lilcodelab / Xamarin.Plugin.Calendar

Calendar plugin for Xamarin.Forms
MIT License
260 stars 60 forks source link

[Feature Request] Public void Add does not accept time, only date #120

Open gusperandio opened 2 years ago

gusperandio commented 2 years ago

regardless of the time specified in the key, the time is always added as zero

Whenever added an event like this

Events.Add(new DateTime(2022, 5, 25, 17, 30, 00), new DayEventCollection<EventoAvancado>(GenerateEvents(1, "SBAU-SBRG", "Manutenção a ser realizada", 1)) { EventIndicatorColor = Color.Red, EventIndicatorSelectedColor = Color.Red });

Then I try to add another event with a different key in time, an error is returned

Events.Add(new DateTime(2022, 5, 25, 20, 15, 00), new DayEventCollection<EventoAvancado>(GenerateEvents(1, "SBRG-SBAU", "Retornando", 1)) { EventIndicatorColor = Color.Blue, EventIndicatorSelectedColor = Color.Blue});

image