Bug #1318
open24h times
50%
Description
I cant get 24h to work in live. it shows just 12h. I have specified the following settings for my locale in ubuntus /etc/default/locales
LANG="en_GB.UTF-8" LC_ALL="en_GB.UTF-8" LC_TIME="fi_FI.UTF-8" LC_NUMERIC="fi_FI.UTF-8" LC_MONETARY="fi_FI.UTF-8" LC_PAPER="fi_FI.UTF-8" LC_NAME="fi_FI.UTF-8" LC_ADDRESS="fi_FI.UTF-8" LC_TELEPHONE="fi_FI.UTF-8" LC_MEASUREMENT="fi_FI.UTF-8" LC_IDENTIFICATION="fi_FI.UTF-8" LANGUAGE="en_GB:en"
Updated by tadi over 11 years ago
- Status changed from New to Feedback
- Assignee set to tadi
- Target version set to vdr-live-0.3.0
- % Done changed from 0 to 50
The time format depends on the translation file used, btw what the coresponding translator used to define the time format for the strftime function.
But in your case (with LANG set to 'en_GB.UTF8') no special .po file is used because for that locale nobody created one. Therefore the 'untranslated' source version of the format specifiers for the strftime function is used.
It is not advisable to change the source code of LIVE, because then all other translations will be broken. The best solution is to provide an 'en_GB.po' file with the time related strings translated to a format which respects the LC_TIME setting.
If you like to provide such a file, please base it on the latest LIVE version in the GIT master branch.