fixed UnicodeDecodeError for non-latin locales. time format can now be set in settings