Exemplo n.º 1
0
 public function timeAgo($timestamp)
 {
     return 'Posted ' . DateTimeHelper::timeAgoString($timestamp, 1) . ' ago';
 }
Exemplo n.º 2
0
 public function timeAgo($timestamp)
 {
     return 'Añadido hace ' . DateTimeHelper::timeAgoString($timestamp, 1);
 }