Observability: date format localization
Bug #1171182 reported by
misibacsi
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Stellarium |
Fix Released
|
Low
|
Alexander Wolf |
Bug Description
I use Stellarium in Hungarian, not English.
I have set "Date display format" to "yyyy-mm-dd (ISO 8601)"
However, the date is shown as "dd-mm" , for example after the text: "Largest Sun separation:" 10 Dec.
The proper form would be "Dec 10." (with a point after the number)
I just installed today 0.12.1 over the previous version.
Regards,
misibacsi
Related branches
summary: |
- incorrect "Date display format" + Observability: date format localization |
tags: | added: observability |
Changed in stellarium: | |
status: | New → Confirmed |
Changed in stellarium: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
You mean the dates displayed by the Observability Analysis plug-in? It doesn't follow the global settings. As far as I know, the date format setting in the main configuration file/the Time Zone plug-in is only for the time/date display in the bottom toolbar.
(Please confirm if this is what the issue is about, so we can know how to classify the bug report.)
I did notice that the dates in the Observability plug-in are implemented in a rather... unthinking manner when I was doing some translation. The day/month order can be fixed in the translation string, if you change the order of two parameters.
A smarter way to do it would be to have a single parameter in the string for the date, and the date string itself to be generated by the appropriate date formatting function (day/month) in the locale manager.