BetterTweetDeck icon indicating copy to clipboard operation
BetterTweetDeck copied to clipboard

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

Open Mozinet-fr opened this issue 4 years ago • 4 comments

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.

Mozinet-fr avatar Apr 18 '21 17:04 Mozinet-fr

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 avatar Apr 27 '21 07:04 eramdam

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 😅

eramdam avatar Apr 27 '21 07:04 eramdam

Can't you reuse the global format option?

Mozinet-fr avatar Apr 27 '21 11:04 Mozinet-fr

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

eramdam avatar Apr 27 '21 15:04 eramdam