icalendar--diarytime-to-isotime

icalendar--diarytime-to-isotime is a compiled Lisp function in `icalendar.el'.

(icalendar--diarytime-to-isotime TIMESTRING AMPMSTRING)

Convert a time like 9:30pm to an iso-conform string like T213000.
In this example the TIMESTRING would be "9:30" and the
AMPMSTRING would be "pm". The minutes may be missing as long
as the colon is missing as well, i.e. "9" is allowed as
TIMESTRING and has the same result as "9:00".