eramdam / BetterTweetDeck

A browser extension to improve TweetDeck with a lot of features
https://better.tw
MIT License
1.11k stars 115 forks source link

Add a tooltip with the full date on hover when the date is relative or custom #596

Closed Mozinet-fr closed 2 years ago

Mozinet-fr commented 3 years ago

When the date format is relative or custom (e.g. with year removed), it could be useful to display the complete date in a tooltip on mouse over.

eramdam commented 3 years ago

It turns out TweetDeck has a method I can easily use to display a given Date object into a full representation, so this is how it would look image

Would that do the job?

eramdam commented 3 years ago

Now that I look at the code of that method, it seems like it only renders time into a 12h format so I guess I'll need to add a format option for that tooltip as well 😅

Mozinet-fr commented 3 years ago

Can't you reuse the global format option?

eramdam commented 3 years ago

I guess. But I feel like it might sound confusing that the global format option applies even if you set the timestamps as relative? 🤔