French time format is wrong: 12-hours without AM/PM instead of 24-hours #867
Labels
No Label
bug
build
dependencies
developers
documentation
duplicate
enhancement
formatting
invalid
legal
mobile
obsolete
packaging
performance
protocol
question
refactoring
regression
security
test
translation
usability
wontfix
No Milestone
No project
No Assignees
1 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Bitmessage/PyBitmessage-2024-12-17#867
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I have something like (with the
af0dfdc
version on fedora 23 and the french language) :Apparently I have the 12-hours format without the AM/PM indication, so morning and afternoon cannot even be discriminated…
Hello, you can configure the time format manually in the config file keys.dat, the variable name is "timeformat". Just watch out because you have to escape % with %, so it's slightly different than strftime. In your case, just replace
with
Unfortunately, as far as I know, there is no way to configure it in the GUI.
Thanks @PeterSurda, it works.
For the french locale (and others) %p in strftime is empty or a single space. The absence of AM/PM for some locales is correct as 24 hour time is usually the norm and sometimes there is no one-to-one equivalent for "am" or "pm".
The default setting for timeformat during creation of keys.dat should be changed to simply %c for the better supported locale-specific datetime representation. The current default setting is unusual in some locales.
Thanks @bmng-dev !
I merged your patch, @LGD-Fr .