Skip to content

wall-clock: Use a regex match to get the stripped clock

Guido Günther requested to merge guidog/phosh:ampm-clock into main

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.

Before (Click to expand) before
After (Click to expand) after

Closes: #1237 (closed)

Edited by Guido Günther

Merge request reports

Loading