Skip to content

does this calender support persian date and time? if not is there any plan to add it in future releases? #164

Closed Answered by ME-MarvinE
FardinFarnezhad asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @FardinFarnezhad ,

To change the DayNames to Persian, set CultureInfo.CurrentUICulture to a Persian culture. I tested with "fa-IR".
To change the Month names to Persian, set CultureInfo.CurrentCulture to a Persian culture. I tested with "fa-IR".
However the displayed year does not change to the Persian year. XCalendar only supports the Gregorian Calendar.

Best to do this before InitializeComponent() in App.caml.cs. More info on localisation is in the Displaying Dates page of the wiki.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by FardinFarnezhad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants