Moin
4 Julio, 2026 08:54
1
Esta es una captura de pantalla de la lista de miembros del grupo @team . Parece que hay un problema con las fechas de los usuarios cuyos perfiles están ocultos, lo que hace que los nombres apenas sean visibles.
No puedo @mencionar al grupo team, así que no hace falta editar esto para evitar notificaciones.
2 Me gusta
¡Gracias! Esto es fácil de pasar por alto como administrador, una corrección está en camino
main ← fix-invalid-date-string
merged 03:29PM - 06 Jul 26 UTC
Reported here: https://meta.discourse.org/t/group-members-last-visited-and-last-… posted-date-of-hidden-profiles/406816
When someone's profile is hidden, `last_seen_at` and `last_posted_at` are hidden. The group user directory calls `{{dAgeWithTooltip m.last_seen_at format="medium"}}`, which does `new Date(undefined)` resulting in `Invalid Date`, which is truthy! This passes the `!date` check in `autoUpdatingRelativeAge` and results in a broken translation:
<img width="886" height="86" alt="image" src="https://github.com/user-attachments/assets/6e18cc82-82cd-429e-8c92-a4351051ac2e" />
Adding `isNaN(date.getTime())` avoids the case where we attempt to process a `new Date()` result that's not a date.
1 me gusta