Soheil-Saberi / mantine-datepicker-jalali

jalali datepicker of mantine library
https://www.npmjs.com/package/mantine-datepicker-jalali
MIT License
17 stars 2 forks source link

bug in select year and not support props date picker mantine #1

Open mehdiraized opened 1 year ago

mehdiraized commented 1 year ago

after select year date return is 1 year ago and not support this props

initialLevel
inputFormat
labelFormat
allowFreeInput
dateParser

sample

initialLevel="year"
inputFormat="MM/DD/YYYY"
labelFormat="MM/YYYY"
allowFreeInput
dateParser={(dateString) => new Date(Date.parse(dateString))}
m-r-alizadeh commented 1 year ago

same problem here and return value is not Jalali date!