-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(contacts): Show time difference for users in different timezones #50214
Conversation
Signed-off-by: Ferdinand Thiessen <[email protected]>
$timeOffsetString = $l->t('%s behind', [$timeOffsetString]); | ||
} | ||
} | ||
$profileActionText = "{$localTimeString} • {$timeOffsetString}"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be translated, so that RTL languages also have first the time and then the "offset"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Normally this should also work, we do the same for app headlines and page titles on the frontend.
But if preffered I can add this as translated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe @DorraJaouad can give it a quick test with arabic to see how it feels?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! I assume the vertical misalignment is already known/tracked in a different issue. :)
yes! |
Summary
Add the time offset to a different user in a different timezone to the account menu.
Screen recording
Bildschirmaufnahme_20250116_130919.webm
Checklist