-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
hello guys,
I used react-dates in my project, I want to have both Jalali and milady date picker in my project. but it seems that react-dates works not much well when I wanna use Jalali. I read issues and I found that this problem was asked but I couldn't find the right answer for it, can anyone help me to solve this problem?
problem :
when I render Jalali dates with renderDayContents method as below:
function renderDayText(day: any): ReactElement { return <>{jMoment(day).format('jD')}</> }
I expected react-dates render dates of the month from 1st but react-date rendered dates of the month from the 10th day of the previous month while I was in the current month.
I'll put a picture of this problem to help
but wanna each day put under own month
thanks for your help
