How to amend time format of comments, using child-theme?

How to amend (override) the time format of the comments (of the posts and pages), not touching the wordpress initial installation? I use a child theme and if it is possible in any way to do it from the child theme to prevent my changes been overwritten by the next WP update.
I would prefer to use add_filter()

WP 4.9.4

Read more here:: How to amend time format of comments, using child-theme?

Leave a Reply

Your email address will not be published. Required fields are marked *