wall-clock: Use a regex match to get the stripped clock
AM and PM can be localized strings so just look for the number part in case we have any whitespace in the clock format. Otherwise we assume 24h clock.
Hours and minutes can be separated by unicode characters so we can't just use : as separator.
Closes: #1237 (closed)
Edited by Guido Günther

