dotnetcore / BootstrapBlazor

Bootstrap Blazor is an enterprise-level UI component library based on Bootstrap and Blazor.
https://www.blazor.zone
Apache License 2.0
2.61k stars 299 forks source link

bug(DateTimePicker): body defaulting to previous month #4358

Closed ArgoZhang closed 1 month ago

ArgoZhang commented 1 month ago

Discussed in https://github.com/dotnetcore/BootstrapBlazor/discussions/4268

Originally posted by **eramosr16** September 7, 2024 ### Is there an existing issue for this? - [X] I have searched the existing issues ### Describe the bug DateTimePicker.razor component defaults to previous month of whatever date is passed as value. ### Expected Behavior Should default to current month passed as value ### Steps To Reproduce Here is the reference on the code: https://github.com/dotnetcore/BootstrapBlazor/blob/7d9a6a9fefefac9b992a4061e71d3a7496362fc8/src/BootstrapBlazor/Components/DateTimePicker/DatePickerBody.razor.cs#L137 ### Exceptions (if any) _No response_ ### .NET Version _No response_ ### Anything else? _No response_
bb-auto[bot] commented 1 month ago

@ArgoZhang Thank you for contacting us. We will give feedback later.