Jump to content


Photo

Time change to 12h format (am/pm)


  • Please log in to reply
73 replies to this topic

Re: Time change to 12h format (am/pm) #21 el bandido

  • Senior Member
  • 392 posts

+15
Neutral

Posted 9 October 2020 - 19:00

Why does the time format have to be in 12 hour format? Is there some reason you want this besides cosmetics?



Re: Time change to 12h format (am/pm) #22 mrvica

  • Senior Member
  • 1,259 posts

+86
Good

Posted 9 October 2020 - 19:21

https://en.wikipedia...i/12-hour_clock



Re: Time change to 12h format (am/pm) #23 littlesat

  • PLi® Core member
  • 57,176 posts

+698
Excellent

Posted 9 October 2020 - 20:20

You have in skins strings that format how date and time should be shown (eg also the month/day format vs day/mount) and some are in code. Those In code can be controlled. For those in skins you need special treatment...

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Time change to 12h format (am/pm) #24 deezee6

  • Senior Member
  • 49 posts

+1
Neutral

Posted 9 October 2020 - 20:21

Moving back  to North America, where I lived most of my life and I am used to am/pm. The 24h format is illogical. Have you anywhere seen  in any shop, selling watches or cloaks with a face 24h? Think about it.   AM = Ante meridiem: Before noon, PM = Post meridiem: After noon.  It has been like this since the clocks exist, it was changed in Europe some 30 to 40 years ago. Now is a matter of different standards.



Re: Time change to 12h format (am/pm) #25 el bandido

  • Senior Member
  • 392 posts

+15
Neutral

Posted 9 October 2020 - 20:55

A 12/24 hour option would be nice, but 24 hour or military time does not bother the operation of enigma2.  North American atsc epg populates correctly when using OpePLi images.
Good luck on making much progress as I have already tried it.
https://forums.openp...t/#entry1207550



Re: Time change to 12h format (am/pm) #26 deezee6

  • Senior Member
  • 49 posts

+1
Neutral

Posted 10 October 2020 - 14:38

Made an experiment.I have 7 years old STB I bought in the US which has only the 12h (am/pm format) and is not Enigma2. Scanned some channels and check the single EPG. Time was am/pm. This means, that Enigma2 and all the skins that come with it are designed only for 24h. Unless the developers add 12h format, nothing can be done.
I am open for suggestions.

Attached Files



Re: Time change to 12h format (am/pm) #27 deezee6

  • Senior Member
  • 49 posts

+1
Neutral

Posted 10 October 2020 - 14:44

And today is an UNIQUE day! 10102020, universal for all time standards.



Re: Time change to 12h format (am/pm) #28 mimisiku

  • Senior Member
  • 5,518 posts

+115
Excellent

Posted 10 October 2020 - 14:47

First of all it is simply 'getting used to'. You were obviously brought up in the 12 hours system (so you are simply used to it). The 24 hour format is used all over the world and widely accepted. Simply because it is American doesn't mean everybody has to obide by their rules!
Met één been in het graf..... Helaas

Re: Time change to 12h format (am/pm) #29 ccs

  • Senior Member
  • 229 posts

+7
Neutral

Posted 10 October 2020 - 14:51

And today is an UNIQUE day! 10102020, universal for all time standards.

... but we can also add 10:10 and 20:20 to that date.  :)


test


Re: Time change to 12h format (am/pm) #30 deezee6

  • Senior Member
  • 49 posts

+1
Neutral

Posted 10 October 2020 - 15:00

MIMISIKU, no bad feelings.



Re: Time change to 12h format (am/pm) #31 ja5

  • Member
  • 6 posts

0
Neutral

Posted 10 October 2020 - 15:15

If you want 12h then openvix works fine. Iv been looking into 12h for a while and if i do work out how i will post back



Re: Time change to 12h format (am/pm) #32 deezee6

  • Senior Member
  • 49 posts

+1
Neutral

Posted 10 October 2020 - 16:15

Thank you ja5. And for MIMISIKU  I would like to add something: 12h format (am/pm) DOES NOT come from the United States. It was accepted there only as the standard like 24h is accepted in Europe and some other countries. Please MIMISIKU read what a member already posted: https://en.wikipedia...i/12-hour_clock



Re: Time change to 12h format (am/pm) #33 littlesat

  • PLi® Core member
  • 57,176 posts

+698
Excellent

Posted 10 October 2020 - 16:32

Maybe a better structured way is work with translation and modify all date format strings to the right am/pm format.... and then arrange that all date/time format strings are translatable and then add a translation English_usa etc.... I suggest this is the only real structured way to do this (and better than the what vix did)

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Time change to 12h format (am/pm) #34 ja5

  • Member
  • 6 posts

0
Neutral

Posted 10 October 2020 - 17:00

Tbh it doesnt make where you live im uk and also perfer 12h

 

The problem i have found that you can edit most skins to get 12h not a problem but things like timer list and single epg etc are not so easy. Openvix is the only image iv seen 12h but one skin is 24h

I started to think its to do with getting the time and openvix geolocation but havent tested.

 

Not so easy when your not a skin maker lol



Re: Time change to 12h format (am/pm) #35 littlesat

  • PLi® Core member
  • 57,176 posts

+698
Excellent

Posted 10 October 2020 - 18:07

With translation you can ‘translate a 24 format to 12 format...

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Time change to 12h format (am/pm) #36 ja5

  • Member
  • 6 posts

0
Neutral

Posted 10 October 2020 - 18:35

With translation you can ‘translate a 24 format to 12 format...

could you show us a example please



Re: Time change to 12h format (am/pm) #37 littlesat

  • PLi® Core member
  • 57,176 posts

+698
Excellent

Posted 10 October 2020 - 18:41

There are already examples of reformatting a date or timestamp string for some languages.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Time change to 12h format (am/pm) #38 ja5

  • Member
  • 6 posts

0
Neutral

Posted 12 October 2020 - 00:22

Well im none the wiser but i found out that openvix have a way to change everything with a simple 12 to 24 switch.

 

In openvix you can set date style and time style i think this is the same in openatv.

Openvix will switch epg guild epg search and timers 12h or 24h iv even tried usa lol

 

openatv can not do epg guild search or timers etc, well not with the matrix or ultimate skin

The only thing i can see what changes is etc/enigma2 settings

config.usage.time.long=%-I:%M:%S%P
config.usage.time.mixed=%-I:%M%P
config.usage.time.short=%-I:%M%P

 

could openpli offer this option in th future??



Re: Time change to 12h format (am/pm) #39 littlesat

  • PLi® Core member
  • 57,176 posts

+698
Excellent

Posted 12 October 2020 - 06:15

Yes they can... but with a hack and not the method it should be done... actually it cannot work fully eg in skins you can hard format date/time strings. ithis should be made translatable... somehow... when someone has a lot of time it can be done...

Edited by littlesat, 12 October 2020 - 06:19.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Time change to 12h format (am/pm) #40 deezee6

  • Senior Member
  • 49 posts

+1
Neutral

Posted 12 October 2020 - 13:57

For me this topic is closed. Flashed OpenVix, this time carefully set date to am/pm and it worked like charm! Regrettably have to leave Openpli.  :)




5 user(s) are reading this topic

0 members, 5 guests, 0 anonymous users