* fix: capitalize German 'Uhr' in 24-hour time format - Conditionally apply toLowerCase() only for 12-hour format (AM/PM) - Preserve proper capitalization for 24-hour format in German and other locales - German 'Uhr' now displays correctly as 'Uhr' instead of 'uhr' Fixes #24455 * refactor: remove code comments for clarity * use ternary in return instead of mutable variable * refactor: remove toLowerCase from time formatting * addressed cubic suggestion --------- Co-authored-by: Pallav <90088723+Pallava-Joshi@users.noreply.github.com> Co-authored-by: Anik Dhabal Babu <adhabal2002@gmail.com>