Skip to content

Commit

Permalink
bug: Fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
qafoori authored Jun 22, 2023
1 parent 824eac3 commit cf6eac5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ const islamic = new Khayyam('islamic', '1444-11-30')

const gregoryToJalali = gregorian.toJalali().date
const islamicToJalali = islamic.toJalali().date
// { year: 1444, month: 11, day: 30, weekDay: 1 }
// { year: 1402, month: 3, day: 29, weekDay: 1 }

const gregoryToIslamic = gregorian.toIslamic().date
const jalaliToIslamic = jalali.toIslamic().date
// { year: 1402, month: 3, day: 29, weekDay: 1 }
// { year: 1444, month: 11, day: 30, weekDay: 1 }

const jalaliToGregory = jalali.toGregorian().date
const islamicToGregory = islamic.toGregorian().date
Expand Down

0 comments on commit cf6eac5

Please sign in to comment.