Skip to content

Commit

Permalink
5.5.7
Browse files Browse the repository at this point in the history
  • Loading branch information
aliyilmaz committed Apr 5, 2023
1 parent 481920f commit f55f0d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Mind.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
*
* @package Mind
* @version Release: 5.5.6
* @version Release: 5.5.7
* @license GPL3
* @author Ali YILMAZ <[email protected]>
* @category Php Framework, Design pattern builder for PHP.
Expand Down Expand Up @@ -3614,6 +3614,7 @@ public function permalink($str, $options = array()){
*/
public function timeForPeople($datetime, $translations=[]) {

$datetime = (is_null($datetime)) ? '' : $datetime;
$now = new DateTime();
$ago = new DateTime($datetime);
$diff = $now->diff($ago);
Expand Down

0 comments on commit f55f0d4

Please sign in to comment.