Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

susnux
Copy link
Contributor

@susnux susnux commented Jan 16, 2025

Summary

Add the time offset to a different user in a different timezone to the account menu.

Screen recording

Before After
Bildschirmfoto_20250116_181620 Bildschirmfoto_20250116_181656
Bildschirmaufnahme_20250116_130919.webm

Checklist

$timeOffsetString = $l->t('%s behind', [$timeOffsetString]);
}
}
$profileActionText = "{$localTimeString} • {$timeOffsetString}";
Copy link
Member

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"?

Copy link
Contributor Author

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

Copy link
Member

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?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

Yeah, it looks good, offset comes in second position

@susnux susnux requested a review from nickvergessen January 17, 2025 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants