Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gusperandio opened this issue Feb 7, 2022 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@gusperandio
Copy link

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

@gusperandio gusperandio added the enhancement New feature or request label Feb 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant