HCSVLAB-686 Fix up hour to be in 12 hour time format + convert galaxy form to haml