Closed tibetsprague closed 3 months ago
@KevinTriplett this should be an easy one to add alongside the "edited" label
import Tooltip from 'components/Tooltip'
then in the component somewhere something like
<Tooltip
delay={550}
id='dateTip'
position='left'
/>
then on the element you want to add the tooltip to add attributes like this:
data-for='dateTip'
data-tip={formattedTimestamp}
Right now our timestamps are displayed like "1 week ago", which doesnt tell you exactly when a post or comment was posted. Sometimes you want to see this. Next Economy MBA has requested it. For now lets just add a tooltip to the existing timestamp that shows the exact time the comment or post was posted. Something like "Mar 15 at 2:45pm"