diff --git a/webapp/channels/src/components/post_view/post_time/post_time.tsx b/webapp/channels/src/components/post_view/post_time/post_time.tsx index ac88a9a8de..f66ea841f9 100644 --- a/webapp/channels/src/components/post_view/post_time/post_time.tsx +++ b/webapp/channels/src/components/post_view/post_time/post_time.tsx @@ -18,6 +18,7 @@ const POST_TOOLTIP_RANGES = [ RelativeRanges.TODAY_TITLE_CASE, RelativeRanges.YESTERDAY_TITLE_CASE, ]; +const getTimeFormat: ComponentProps['useTime'] = (_, {hour, minute, second}) => ({hour, minute, second}); type Props = { @@ -105,6 +106,7 @@ export default class PostTime extends React.PureComponent { value={eventTime} ranges={POST_TOOLTIP_RANGES} useSemanticOutput={false} + useTime={getTimeFormat} /> }