how to change the time format to 24 hour

I can't change time from AM/PM time to 24 hours format time
I tried to add to your config.php file these lines for this
$Configuration['Garden']['DefaultDateFormat'] = 'j. F Y';
$Configuration['Garden']['DefaultDayFormat'] = 'j. F';
$Configuration['Garden']['DefaultYearFormat'] = 'F Y';
$Configuration['Garden']['DefaultTimeFormat'] = 'H:i';
but it does not affect the format of the time, what else would you change about it?
I tried to add to your config.php file these lines for this
$Configuration['Garden']['DefaultDateFormat'] = 'j. F Y';
$Configuration['Garden']['DefaultDayFormat'] = 'j. F';
$Configuration['Garden']['DefaultYearFormat'] = 'F Y';
$Configuration['Garden']['DefaultTimeFormat'] = 'H:i';
but it does not affect the format of the time, what else would you change about it?
0
Comments
/applications/dashboard/locale/en-ca/definitions.php on Vanilla 2.0.17.8