Globalization of Date And Number Formats
The Telerik UI for Blazor components use the culture of the current thread to render the appropriate culture-specific format for dates, numbers, and currency.
Component | Date And Number Format Specifics |
---|---|
Calendar | The names of the months and days of the week are taken from the current culture, and the FirstDayOfWeek of the culture is honored when ordering the days of the week. The Calendar uses the ShortestDayNames array to get the short names for the days of the week and it expects them in the default order coming from the framework - Sunday to Saturday. |
Chart | The Label Format Strings and Tooltip allow using culture-aware content such as formatted numbers and dates. You can find examples at How to localize numeric labels in the Chart and at Render culture-aware date axis labels. |
DateInput | The Format is culture-specific and the same format may produce different results depending on the culture. You can find more information and examples in the Supported Date Formats article. |
DatePicker | The Format is culture-specific and the same format may produce different results depending on the culture. You can find more information and examples in the Supported Date Formats article. |
DateRangePicker | The Format is culture-specific and the same format may produce different results depending on the culture. You can find more information and examples in the Supported Date Formats article. |
DateTimePicker | The Format is culture-specific and the same format may produce different results depending on the culture. You can find more information and examples in the Supported Date Formats article. |
Grid | The various inputs and editors are Telerik components and respond to the culture. Custom code and format strings in the templates will also default to using the current culture unless you explicitly use a certain culture in them. |
NumericTextBox | The Format (for example, currency), decimal separator, group separator and default number of Decimals are taken from the current culture. |
RangeSlider | The labels on the large ticks are formatted according to the current culture and its default decimals. |
Scheduler | Date formats are taken from the culture, in the week view the first day of the week is also taken from the culture even if it does not match the Date . The various inputs and editors in the edit form are Telerik components and respond to the culture. |
Slider | The labels on the large ticks are formatted according to the current culture and its default decimals. |
TimePicker | The Format is culture-specific and the same format may produce different results depending on the culture. You can find more information and examples in the Supported Date Formats article. |
TreeList | The various inputs and editors are Telerik components and respond to the culture. Custom code and format strings in the templates will also default to using the current culture unless you explicitly use a certain culture in them. |