We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2f4a0b commit cfa7e66Copy full SHA for cfa7e66
README.md
@@ -60,10 +60,10 @@ echo Zaman::gToj('2014-09-21 07:12:54', 'EEEE yyyy/MMMM/dd H:m:s');
60
61
62
// Moment samples
63
-echo Zaman::moment(1494328806);
64
-echo Zaman::moment(strtotime('3 hours ago'));
65
-echo Zaman::moment(strtotime('2017-01-02 00:10:20'));
66
-echo Zaman::momentEn(1494334506);
+echo Zaman::moment(1494328806); // "May 2017"
+echo Zaman::moment(strtotime('3 hours ago')); // "3 ساعت قبل"
+echo Zaman::moment(strtotime('2017-01-02 00:10:20')); // "2 هفته قبل"
+echo Zaman::momentEn(1494334506); // "last month"
67
68
// Blade usage example
69
{{ Zaman::gToj('2011-11-20 19:12:19') }}
0 commit comments