put repeated code for printing time into a function
Merge branch 'master' of https://github.com/Tox/toxic