automatically determine whether to use 12 hour clock