Moin
4 يوليو 2026، 8:54ص
1
هذه لقطة شاشة من قائمة أعضاء مجموعة @team . يبدو أن هناك مشكلة في تواريخ المستخدمين الذين تكون ملفاتهم الشخصية مخفية، مما يؤدي إلى أن تكون الأسماء بالكاد مرئية.
لا يمكنني الإشارة إلى مجموعة الفريق، لذا لا حاجة لتعديل هذا لتجنب الإشعارات.
إعجابَين (2)
شكرًا! من السهل أن يغفل المسؤولون عن هذه النقطة، وهناك إصلاح في الطريق.
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)