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

Clocktime of created memos #4520

Closed
wants to merge 3 commits into from
Closed

Conversation

Cadavanaugh
Copy link

@Cadavanaugh Cadavanaugh commented Mar 15, 2025

When reading old memos I didn't had the vision of when I did that specific post because the display date only showed weekday followed by date (Sun, Mar 9). Now the display time also shows the clocktime of memo creation (Sun, Mar 9, 1:40 PM) while keeping the relative time for newest memos such as "1 hour ago". Different time formats for different countries is already accomplished via i18n.

(en-US time)
image

(pt-BR time)
image

Creation date string now shows clocktime when memos are old enough to display time as date.
"Sun, Mar 9." --> "Sun, Mar 9, 1:40 PM"
@Cadavanaugh Cadavanaugh requested a review from boojack as a code owner March 15, 2025 15:57
used `pnpm lint --fix` to fix the problems
Copy & Paste logic from MemoView.tsx left an inexistent variable in EmbeddedMemos.tsx
@ehsundar
Copy link
Contributor

There's no need to implement such feature as it's been already implemented. If you hover the date, the tooltip would show you the exact moment. It is also available in the PWA through the sidebar menu.

It's worth mentioning that I haven't read any code to know such feature exists as it is a common design practice and respected in many application.

@boojack boojack closed this Mar 17, 2025
@Cadavanaugh
Copy link
Author

Cadavanaugh commented Mar 17, 2025

Don’t you agree that showing the clocktime right after the date it’s an UX upgrade? We’ll be able to see a post’s time without any further clicks or mouse movement while still mantaining the old ways to visualize time.
Honestly I didn’t even know about the tooltip nor the sidebar. That’s why I wanted to code this feature in the first place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants