Skip to content

Commit

Permalink
[feat] add postfix to future times
Browse files Browse the repository at this point in the history
  • Loading branch information
alissn committed Jul 31, 2024
1 parent 9c3216e commit 1b56dc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Jalalian.php
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ public function ago(): string
$difference = intval(round($difference));

// return
return number_format($difference) . ' ' . $periods[$j] . ' ' . (isset($negative) ? '' : 'پیش');
return number_format($difference) . ' ' . $periods[$j] . ' ' . (isset($negative) ? 'دیگر' : 'پیش');
}

public function getTimestamp(): int
Expand Down

0 comments on commit 1b56dc8

Please sign in to comment.