Explorar el Código

Formatter typo fix

master
Rocketsoup hace 3 años
padre
commit
9cebf7e554
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2
    2
      htdocs/index.php

+ 2
- 2
htdocs/index.php Ver fichero

@@ -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…
Cancelar
Guardar