Bug 1054178 - [Gaia][calendar] support 24 hour time format

the `localizeElement` method is not going to work with the week view sidebar (since the hours needs to wrap the am/pm into `<span class="ampm">` and that is not being stored into the `[data-l10n-date-format]`