Search code examples
javascriptreactjscalendar

Solution to find holidays in persian calendar (shamsi)


I need to know Persian calendar holidays in react and I don't want to use paid APIs. Is there any way to get Persian (shamsi) holidays for **free **?

I need to know holidays with it's description.

{
1402:[
    {
      date: "1402/1/2",
      description: "عیدنوروز",
    },
    ...
]
}

Help me to find a free API or free solution.


Solution

  • use this script for free at time.ir website to have static holidays in specific years detect Persian holidays script