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