fix the hour format conversion
don't generate the Disabled property