jalaliday icon indicating copy to clipboard operation
jalaliday copied to clipboard

Persian (Jalali, Khorshidi) Plugin for Day.js

Results 13 jalaliday issues
Sort by recently updated
recently updated
newest added

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) Welcome to [Renovate](https://togithub.com/renovatebot/renovate)! This is an onboarding PR to help you understand and configure settings before regular Pull Requests begin. 🚦 To activate Renovate, merge this Pull Request....

Changing the dayjs calendar for all instance doesn't work. ![image](https://user-images.githubusercontent.com/3443365/103233867-6d4fed80-4953-11eb-8c3e-24b1043724d7.png)

hi, When I want to change the date, the date is converted as follows and the same jalali date is returned `1400/05/07 => Thu May 08 1400 00:00:00 GMT+0325 (Iran...

Thanks for this lib. but it seems there isn't any type definition for typescript types because when I use `dayjs.calendar(...)`: ``` Property 'calendar' does not exist on type 'typeof import(".../node_modules/dayjs/index.d.ts")'....

### Date of month is wrong in some months Example for Bahman (1399/11/11): ```javascript const date = dayjs().calendar('jalali').locale('fa'); console.log('days =', date.daysInMonth()); for (let i = 1; i

وقتی ماه رو تنظیم میکنم برای ماه 12 دچار اشکال میشه. ` dayjs().calendar('jalali').locale('fa').month(11).format('MMMM'); // فروردین dayjs().calendar('jalali').locale('fa').month(0).format('MMMM'); // فروردین dayjs().calendar('jalali').locale('fa').date(1).month(11).format('MMMM'); // اسفند `

when I try to use jalaliday in a specific component I realize it converts my Jalali year 1399 to gregorian 3263 instead of 2020. as I check more I find...

when I use time zone .tz() function , it converted to georgian

Currently what you get out of `months()` method is dependant on `locale` which is wrong. It should depend on `calendar`, and `locale` should only define the language: ```js dayjs.locale('fa') console.log(dayjs.calendar('jalali').months())...

When I pass **2025/03/20**, It gives back **"1404/1/1"** and it's wrong. It should return **"1403/12/30"**