Fix incorrect display of time

Closes #13