To change the working hours widget time format you have to use translation plugin ( Ex: Loco Translate ). The time texts are from TownHub Add-Ons plugin.
Check theme’s Theme & Plugin Translation documentation for more details: https://docs.cththemes.org/docs/townhub-listing-directory-wp-theme/theme-plugin-translation/