Remove unsed friendly_time function
Linting fixes