Jump to content


Photo

Wrong Time Displayed


  • Please log in to reply
8 replies to this topic

#1 03397

  • Senior Member
  • 229 posts

0
Neutral

Posted 4 June 2012 - 21:47

I have DM500HD with Open PLI 2.1 and the time being displayed is GMT. I am in GMT+2 that's what I have put in timezone.

Is there something wrong with some of the nighly builds?
This used to work just fine.

Re: Wrong Time Displayed #2 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 4 June 2012 - 22:13

which timezone do you use?

Re: Wrong Time Displayed #3 03397

  • Senior Member
  • 229 posts

0
Neutral

Posted 4 June 2012 - 22:23

which timezone do you use?


GMT+2 Athens, Istanbul, Minsk

Re: Wrong Time Displayed #4 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 5 June 2012 - 00:13

Do you have a file /usr/share/zoneinfo/Europe/Istanbul ?
And if so, where does /etc/localtime point to?
(ls -la /etc/localtime)

Re: Wrong Time Displayed #5 03397

  • Senior Member
  • 229 posts

0
Neutral

Posted 5 June 2012 - 17:39

Do you have a file /usr/share/zoneinfo/Europe/Istanbul ?
And if so, where does /etc/localtime point to?
(ls -la /etc/localtime)


No I do not have. When I did the command below I get the following
root@dm500hd:~# ls -la /etc/localtime
lrwxrwxrwx 1 root root 35 Jun 4 21:02 /etc/localtime -> /usr
share/zoneinfo/Europe/Istanbul
root@dm500hd:~#


But the files are located in /usr/share/zoneinfo. There is no Europe.

Re: Wrong Time Displayed #6 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 5 June 2012 - 18:12

What is the output of

opkg info timezones-alternative

and

opkg files timezones-alternative

Re: Wrong Time Displayed #7 03397

  • Senior Member
  • 229 posts

0
Neutral

Posted 5 June 2012 - 19:52

What is the output of

opkg info timezones-alternative

and

opkg files timezones-alternative


root@dm500hd:~# opkg info timezones-alternative
Package: timezones-alternative
Version: 2012b-r1
Provides:
Status: unknown ok not-installed
Section: base
Architecture: all
Maintainer: Felix Domke <tmbinc@elitedvb.net>
MD5Sum: d93ba9d3b2b6c9ab84fdea5444d6e294
Size: 39492
Filename: timezones-alternative_2012b-r1_all.ipk
Source: file://zoneinfo.tar.bz2
Description: Timezone data, alternative

root@dm500hd:~# opkg files timezones-alternative
Collected errors:
* opkg_files_cmd: Package timezones-alternative not installed.

Re: Wrong Time Displayed #8 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 5 June 2012 - 20:26

weird, but in that case the solution is simple, install the package:

opkg install timezones-alternative

I'm wondering how you got an image without timezones-alternative though...

Re: Wrong Time Displayed #9 03397

  • Senior Member
  • 229 posts

0
Neutral

Posted 5 June 2012 - 21:28

weird, but in that case the solution is simple, install the package:

opkg install timezones-alternative

I'm wondering how you got an image without timezones-alternative though...


This did the trick.
Thanks.

I just downloaded the nighly build images.
Perhaps something was overwritten during the upgrade.


4 user(s) are reading this topic

0 members, 4 guests, 0 anonymous users