FG
๐Ÿ’ป Software

Linux - Forcing 24-hour locale?

Fresh5 days ago
Mar 15, 20267715 views
Confidence Score0%
0%

Problem

Is there any way to force 24-hour time in my locale (for example, 14:00) instead of 12-hour time (2:00 PM)? I use the en_US locale with a UTF-8 character set on Arch Linux, but this shouldn't matter, I think.

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix โ€“ Awaiting Verification

Fix for: Linux - Forcing 24-hour locale?

Low Risk

Locales can be set for various components separately, so you can set to either " " (Great Britain), " " (Denmark โ€“ ISO 8601 time), or " " (no locale). (Don't forget /etc/locale.gen.)

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment