locale now changes time format

changed format to hh:mm and added locale detection for the time