Jump to content


Photo

Time zone

DM500

  • Please log in to reply
16 replies to this topic

#1 JediMaster420

  • Member
  • 41 posts

0
Neutral

Posted 21 August 2010 - 05:33

I found a bit of a problem with /etc/timezone.xml Arizona should be MST7 instead of MST7MDT. I made ticket 174 but someone suguested I post here too.

Re: Time zone #2 hemertje

  • Forum Moderator
    PLi® Core member
  • 33,473 posts

+118
Excellent

Posted 21 August 2010 - 10:28

you may always post your comments and solutions here on this forum

on the Glassfibre 1GB DVB-C...


Re: Time zone #3 JediMaster420

  • Member
  • 41 posts

0
Neutral

Posted 25 August 2010 - 16:04

So how long does it take for changes to be applied? I can't modify the xml on my box because it's not in /var or /tmp

Re: Time zone #4 hemertje

  • Forum Moderator
    PLi® Core member
  • 33,473 posts

+118
Excellent

Posted 25 August 2010 - 16:54

as soon as anyone of our devs can have a look at it and put it online...

on the Glassfibre 1GB DVB-C...


Re: Time zone #5 dAF2000

  • PLi® Ex-Leden
  • 14,151 posts

+52
Good

Posted 25 August 2010 - 19:41

Please post in your ticket the exact changes. I need the exact changes because I cannot test it here of course.
Many answers to your question can be found in our wiki: http://openpli.org/wiki

Re: Time zone #6 JediMaster420

  • Member
  • 41 posts

0
Neutral

Posted 26 August 2010 - 00:43

It looks like the XML points to files in "/share/zoneinfo"
It looks like "setup > system settings > time" in the OpenPLI GUI coppies the file with the name mentioned in the XML from that directory to "/var/etc/localtime"
It looks like all those files are compiled binary files.
I don't know if you get those from somewhere or compile them yourself.
A new file for Arizona needs to be added that reflects it's non participation in DST, then it's name can be put in "/etc/timezone.xml"

##################################################
currently:

<zone name="(GMT-07:00) Arizona" zone="MST7MDT" />
##################################################


If you want to post a test file I belive I can copy it to "/var/etc/localtime" and try it out for you.

Re: Time zone #7 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 26 August 2010 - 16:34

if there is an MST7 already, you don't need to compile new zoneinfo files; we can just edit the timezone.xml

Re: Time zone #8 JediMaster420

  • Member
  • 41 posts

0
Neutral

Posted 26 August 2010 - 19:17

Adelaide Calcutta Guam Kwajalein Santiago
Almaty Cape_Verde Harare MST7MDT Saskatchewan
Anchorage Caracas Hobart Magadan Seoul
Atlantic Casablanca Hong_Kong Midway Sydney
Auckland Colombo Honolulu Moscow Taipei
Azores Danmarkshavn Irkutsk Muscat Tashkent
Baghdad Darwin Istanbul Nairobi Tehran
Baku Dhaka Jerusalem Newfoundland Tijuana
Bangkok Dublin Kabul Noronha Tokyo
Bogota EST Katmandu Omsk Tongatapu
Brisbane EST5EDT Kinshasa Perth Vladivostok
CET East Krasnoyarsk Rangoon West
CST6CDT Fiji Kuala_Lumpur Riyadh Yakutsk

that is what I get from a "ls -a" none of that looks compatable. perhaps you were looking at an enigma2 box

Re: Time zone #9 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 26 August 2010 - 23:11

I didn't look, as I don't have a 500.

Does the (more uptodate) zoneinfo set from the openembedded images contain a working info file for your timezone?

http://openpli.git.s...5328ee2fa7ca973

Re: Time zone #10 JediMaster420

  • Member
  • 41 posts

0
Neutral

Posted 27 August 2010 - 16:14

unfortunatly no, I'm gonna drop an e-mail to them to see if they can add it.

Re: Time zone #11 JediMaster420

  • Member
  • 41 posts

0
Neutral

Posted 29 August 2010 - 15:55

I'm not getting a response a from them, don't know what to do next.

Re: Time zone #12 JediMaster420

  • Member
  • 41 posts

0
Neutral

Posted 31 August 2010 - 22:14

http://distfiles.gen...ds/current-iso/
had some time zone files compiled for PPC. I can't test it because /var/tuxbox/config/enigma/config may be involed in making sure /var/etc/localtime links back to the "timezone.xml"

Let me know how I can help test it.

Attached Files



Re: Time zone #13 JediMaster420

  • Member
  • 41 posts

0
Neutral

Posted 31 August 2010 - 23:11

Just wen through the sub directories and found lots of different files that may be the one. Anything that says MST, Arizona, Phoenix or GMT-7. The MST file I posted on my ticket came from the root directory. Sorry for messing this up so bad.

Re: Time zone #14 JediMaster420

  • Member
  • 41 posts

0
Neutral

Posted 31 August 2010 - 23:29

OK, found out that the file I posted in my ticket DOES work, just reverts after reboot or reload of settings. (set my box to a time zone that was WAY off to test) So the stuff I posted in my ticket will fix it for sure.

Re: Time zone #15 JediMaster420

  • Member
  • 41 posts

0
Neutral

Posted 1 September 2010 - 01:00

I manualy edited /var/tuxbox/config/enigma/config to say something not recognised in the XML, coppied MST to /var/etc/localtime and got it to stick :)

Re: Time zone #16 JediMaster420

  • Member
  • 41 posts

0
Neutral

Posted 2 September 2010 - 16:26

So how do we go from here to add the 118byte timezone file and xml changes to the nightly build?

Re: Time zone #17 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 2 September 2010 - 16:47

ok, I've added the MST timezone (both for CDK and OE images)



Also tagged with one or more of these keywords: DM500

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users