fix translation
This commit is contained in:
1 parent
dc614c2545
commit
2a24232609
7 files changed
+13
-10
No files matched your search
@@ -74,6 +74,7 @@ class FormatTest extends TestCase
|
||||
|
||||
public function testFormatDifference()
|
||||
{
|
||||
Verta::setLocale('fa');
|
||||
$target = Verta::parse('1398-10-10 21:30:50');
|
||||
|
||||
$datetime = Verta::parse('1398-10-10 21:30:50');
|
||||
@@ -115,7 +116,7 @@ class FormatTest extends TestCase
|
||||
|
||||
public function testFormatWord()
|
||||
{
|
||||
$datetime = Verta::parse('1398-10-11 21:32:35')->formatWord('l dS F');
|
||||
$datetime = Verta::parse('1398-10-11 21:32:35')->formatWord('l d S F');
|
||||
|
||||
$this->assertEquals('چهارشنبه یازده ام دی', $datetime);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user