Moin
Julho 4, 2026, 8:54am
1
Esta é uma captura de tela da lista de membros do grupo @team . Parece haver um problema com as datas dos usuários cujos perfis estão ocultos, fazendo com que os nomes fiquem quase invisíveis.
Não consigo @mencionar o grupo de equipe, então não há necessidade de editar isso para evitar notificações.
2 curtidas
Obrigado! É fácil perder isso como administrador, uma correção está a caminho
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 curtida