Rocketsoup 3 лет назад
Родитель
Сommit
9cebf7e554
1 измененных файлов: 2 добавлений и 2 удалений
  1. 2
    2
      htdocs/index.php

+ 2
- 2
htdocs/index.php Просмотреть файл

@@ -246,10 +246,10 @@ class L10n {
246 246
 			return $fmtTime->format($timestamp);
247 247
 		}
248 248
 		if ($now - $timestamp < 4 * DAY) {
249
-			return $fmtDayOfWeek->format($timestamp) . ', ' . $time->format($timestamp);
249
+			return $fmtDayOfWeek->format($timestamp) . ', ' . $fmtTime->format($timestamp);
250 250
 		}
251 251
 		if ($now - $timestamp < 180 * DAY) {
252
-			return $fmtMonthDay->format($timestamp) . ', ' . $time->format($timestamp);
252
+			return $fmtMonthDay->format($timestamp) . ', ' . $fmtTime->format($timestamp);
253 253
 		}
254 254
 		return $fmtLong->format($timestamp);
255 255
 	}

Загрузка…
Отмена
Сохранить