test quarter format
This commit is contained in:
1 parent
fe6b056b52
commit
2b49c40ada
1 file changed
+7
@@ -120,4 +120,11 @@ class FormatTest extends TestCase
|
||||
|
||||
$this->assertEquals('چهارشنبه یازده ام دی', $datetime);
|
||||
}
|
||||
|
||||
public function testFormatQuarter()
|
||||
{
|
||||
$datetime = Verta::parse('1398-10-10 21:30:50')->formatWord('q');
|
||||
|
||||
$this->assertEquals('زمستان', $datetime);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user