Change date format
#1
Posted 6 May 2014 - 19:57
I usage Openpli 4 on my Vu+ Duo 2 using orginal skin.
How can I have change the date format ?
Currently the date are shown as 06.05.2014 or in some case as 6.5. (dd.mm.yyyy) or (d.m)
This are not standard date formate in Sweden. I like it to show the date formatted as yyyy-mm-dd e.g 2014-05-06
All help are very welcome
Re: Change date format #2
Re: Change date format #3
Posted 11 May 2014 - 13:46
GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K
Re: Change date format #4
Re: Change date format #5
Posted 11 May 2014 - 22:16
Have you set the GUI to use Swedish language?
I found a file ClockToText.pyo in /usr/lib/enigma2/python/Components/Converter/
How can I change it to affect my need ?
Move it to my computer and run pyton editor and change the date format and then copy it back ?
Re: Change date format #6
Posted 12 May 2014 - 10:23
If I understand correctly, you're using the default skin so you're already complaining in the right place here
It is a bug in the skin.
Re: Change date format #7
Re: Change date format #8
Re: Change date format #9
Re: Change date format #10
Posted 13 May 2014 - 18:06
Once again, your translator must to look into your .po file and see, if there are strings for date and "translate" it into your format. As I saw (if is it sv.po ?), all this strings there are "translated" to same format as original source.
F.eg: %d.%B %Y it translated to %d.%B %Y but as you wrote, you want: %Y-%B-%d
Edited by ims, 13 May 2014 - 18:12.
Re: Change date format #11
Re: Change date format #12
Posted 14 May 2014 - 22:07
See on source file, there is translator http://sourceforge.n...ree/po/sv.po#l9
You can download this file, open it in po-editor (it does exist for Linux and for Win too ... poedit ), change string and save => sv.mo. Then rename sv.mo to enigma2.mo and replace it in your box ( /usr/share/enigma2/po/sv/LC_MESSAGES/ ). Restart gui and you will see.
or try this file, where I changed it.
Attached Files
Re: Change date format #13
Posted 15 May 2014 - 05:55
See on source file, there is translator http://sourceforge.n...ree/po/sv.po#l9
You can download this file, open it in po-editor (it does exist for Linux and for Win too ... poedit ), change string and save => sv.mo. Then rename sv.mo to enigma2.mo and replace it in your box ( /usr/share/enigma2/po/sv/LC_MESSAGES/ ). Restart gui and you will see.
or try this file, where I changed it.
Thank you. I will dö this.
Re: Change date format #14
Posted 21 May 2014 - 22:27
See on source file, there is translator http://sourceforge.n...ree/po/sv.po#l9
You can download this file, open it in po-editor (it does exist for Linux and for Win too ... poedit ), change string and save => sv.mo. Then rename sv.mo to enigma2.mo and replace it in your box ( /usr/share/enigma2/po/sv/LC_MESSAGES/ ). Restart gui and you will see.
or try this file, where I changed it.
I have yet not have the time to make my own sv.mo, will see if I can do this on coming weekend.
But what have you change in your enigma2.mo ?
I can't see it will affect any date format at all?
6 user(s) are reading this topic
0 members, 6 guests, 0 anonymous users