Implemented 12-hour format on time picker

This closes issue #2