modularized time conversion of 24-hour to 12-hour format
modified scope of convertTime function
added an id to the display message
Merge branch 'origin/TC-timepicker'