Format %OB should be used to represent the months instead of %B
Bug #1906960 reported by
Joan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Rapid Photo Downloader |
New
|
Undecided
|
Unassigned |
Bug Description
In some locales %B (that Rapid photo downloader seems to be using) adds the article before the month. In the case of folder tagging would be more interesting having only the month. The same issue has been fixed in many other projects (for example gtk https:/
For example in catalan:
$ LC_TIME=ca_ES.UTF.8 date +%B
de desembre
$ LC_TIME=ca_ES.UTF.8 date +%OB
desembre
The languages not affected would show the same text in both formats.
Regads and thanks for this nice piece of software.
To post a comment you must log in.
Hi, thank you for bringing this to my attention. There are two issues:
(1) What to do about users who have been using the %B behavior, and who do not want the current behavior to change. Without introducing a new data format to supplement the existing options, this is a difficult problem to solve, because it guarantees some users are going to be unhappy.
(2) How to implement it in Python. I don't see it documented here: https:/ /docs.python. org/3/library/ datetime. html
What do you suggest regarding the second issue?