Skip to content

Commit

Permalink
add a new calendar test
Browse files Browse the repository at this point in the history
  • Loading branch information
mbpcoder committed Mar 26, 2024
1 parent acbf8c5 commit 9f74ea1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/CalendarTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ public function testJalaliDateTime()
$this->assertEquals($pasoonate->jalali()->setDate(1399,1,31)->addMonth(11)->format('yyyy/MM/dd'), '1399/12/30');

$this->assertEquals($pasoonate->jalali()->setTime(1,1,1)->format('H-m-s'), '1-1-1');

$this->assertTrue($pasoonate->jalali()->setDate(1403,6,14)->shia()->format('yyyy/MM/dd') === '1446/02/30');
}

public function testGregorianDateTime()
Expand Down

0 comments on commit 9f74ea1

Please sign in to comment.