You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to use BlazorDateRangePicker component to display Persian (solar) Calendar. Some parts, such as the display of months or days of the week, can be localized by selecting "fa-IR" culture, but since you used the built-in DateTime methods to calculate the month, year and day in the calendar, all calculations are based on the Gregorian calendar. This will cause the calendar to display incorrectly. Unfortunately, the DateTime calendar cannot be changed, but the Persian Calendar Library is available from the System.Globalization for this purpose and has all methods needed. I successfully changed your code to display the Persian calendar, but it is very good that this feature is implemented in your code.
The text was updated successfully, but these errors were encountered:
I want to use BlazorDateRangePicker component to display Persian (solar) Calendar. Some parts, such as the display of months or days of the week, can be localized by selecting "fa-IR" culture, but since you used the built-in DateTime methods to calculate the month, year and day in the calendar, all calculations are based on the Gregorian calendar. This will cause the calendar to display incorrectly. Unfortunately, the DateTime calendar cannot be changed, but the Persian Calendar Library is available from the System.Globalization for this purpose and has all methods needed. I successfully changed your code to display the Persian calendar, but it is very good that this feature is implemented in your code.
The text was updated successfully, but these errors were encountered: