소스 검색

Formatter typo fix

master
Rocketsoup 3 년 전
부모
커밋
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
 	}

Loading…
취소
저장