Bläddra i källkod

Formatter typo fix

master
Rocketsoup 3 år sedan
förälder
incheckning
9cebf7e554
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2
    2
      htdocs/index.php

+ 2
- 2
htdocs/index.php Visa fil

@@ -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
 	}

Laddar…
Avbryt
Spara