Use localtime when displaying error times in console