Editing the formatting.php file vs functions.php file?

The human_time_diff function applies a filter to the results at the end of the function call.

return apply_filters( 'human_time_diff', $since, $diff, $from, $to );

So, use that filter to replace the text with what you want it to be instead.

https://codex.wordpress.org/Plugin_API#Filters

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)