Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Update workspace last active time tooltip (#20086)
Refactor the tooltip for displaying the last active time of a workspace in the WorkspaceEntry component. The tooltip now shows the relative time (e.g. "2 days ago") as visible text and the exact date and time with GMT offset on hover. It uses the dayjs library for date formatting and relative time calculation. Additionally, it handles potential undefined dates with a fallback to the current date and removes the leading zero from single-digit GMT hour offsets.
- Loading branch information