RadzenDataGrid: DateTimeOffset filter sends UTC datetime to LoadData instead of local datetime #1883

Closed
opened 2026-01-29 17:59:46 +00:00 by claunia · 0 comments
Owner

Originally created by @bllkrkmz on GitHub (Oct 16, 2025).

Describe the bug
When filtering a DateTimeOffset column in RadzenDataGrid, the date/time value delivered to the LoadData event is converted to UTC. The user selects a local date/time, but LoadData receives the value as UTC, which causes incorrect filtering behavior for local timezones.

To Reproduce

  1. Use a model with a DateTimeOffset property and display it in a RadzenDataGrid column with filtering enabled.
  2. Apply a filter to that DateTimeOffset column by selecting a date/time in the grid UI.
  3. Inspect the value received by the LoadData event handler (or the filter sent to the server).
  4. Observe that the received value is in UTC instead of preserving the local DateTimeOffset selected by the user.

Expected behavior
The date/time provided to LoadData for a DateTimeOffset column filter should preserve the local DateTimeOffset (or at least the selected local date/time) rather than being automatically converted to UTC.

Desktop (please complete the following information)

  • OS: Windows 11
  • Browser: Chrome
  • Version: Latest
Originally created by @bllkrkmz on GitHub (Oct 16, 2025). **Describe the bug** When filtering a DateTimeOffset column in RadzenDataGrid, the date/time value delivered to the LoadData event is converted to UTC. The user selects a local date/time, but LoadData receives the value as UTC, which causes incorrect filtering behavior for local timezones. **To Reproduce** 1. Use a model with a DateTimeOffset property and display it in a RadzenDataGrid column with filtering enabled. 2. Apply a filter to that DateTimeOffset column by selecting a date/time in the grid UI. 3. Inspect the value received by the LoadData event handler (or the filter sent to the server). 4. Observe that the received value is in UTC instead of preserving the local DateTimeOffset selected by the user. **Expected behavior** The date/time provided to LoadData for a DateTimeOffset column filter should preserve the local DateTimeOffset (or at least the selected local date/time) rather than being automatically converted to UTC. **Desktop (please complete the following information)** - OS: Windows 11 - Browser: Chrome - Version: Latest
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#1883