FG
💻 Software

Linux - Forcing 24-hour locale?

Freshabout 2 months 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