"cfg regn"/"time fmt" menu bugfix

The interface to set time format had a bug which could cause the time
format to be set incorrectly immediately after changing from 12-hour
to 24-hour mode.  This has been fixed.