|
|
Thread Tools | Search this Thread |
07-10-2013, 06:47 PM | #1 |
Member
Posts: 10
Karma: 536
Join Date: Jul 2013
Device: Kindle 4NT
|
"date" reports correct time zone and time; UI reports a time several hours off
I pushed a file from /usr/share/zoneinfo to my kindle's /var/local/system/tz file. It shows the time zone I want when I run "date" on it, but the Kindle's time (in the UI) is several hours off. What's wrong?
For the record, this Kindle is not registered to Amazon. |
07-10-2013, 06:56 PM | #2 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Both set to the same (GMT) time. ?? Is the "several hours off" happen to be your offset from TZ-0? |
|
Advert | |
|
07-10-2013, 07:20 PM | #3 | |
Member
Posts: 10
Karma: 536
Join Date: Jul 2013
Device: Kindle 4NT
|
Quote:
Code:
$ scp America/Los_Angeles kindle:/var/local/system/tz Los_Angeles 100% 2819 2.8KB/s 00:00 Code:
# ntpdate pool.ntp.org 10 Jul 16:16:26 ntpdate[8386]: step time server 74.120.8.2 offset 25966.135014 sec Code:
# date Wed Jul 10 16:17:56 PDT 2013 |
|
07-10-2013, 07:38 PM | #4 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
And after you do a re-start? (Which should not be required)
And my earlier question - how many hours off is that time displayed in the UI? Last edited by knc1; 07-10-2013 at 07:53 PM. |
07-10-2013, 08:07 PM | #5 |
BLAM!
Posts: 13,480
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Yeah, it gets tricky sometimes.
Cf. /usr/sbin/setdate && /usr/sbin/settz && /usr/sbin/updatetime The K5 ;st shortcut calls setdate with the wanted time in the %s format. (use date -D "inputfmt" +outputfmt "time" to convert, or use the output of a full fledged date from a proper Linux system). Last edited by NiLuJe; 07-10-2013 at 08:11 PM. |
Advert | |
|
07-11-2013, 07:40 AM | #6 |
Kindle Addict
Posts: 32
Karma: 107422
Join Date: May 2013
Device: Kindle Paperwhite
|
|
07-11-2013, 05:04 PM | #7 | ||
Member
Posts: 10
Karma: 536
Join Date: Jul 2013
Device: Kindle 4NT
|
Quote:
Quote:
|
||
07-11-2013, 05:08 PM | #8 |
BLAM!
Posts: 13,480
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
/usr/sbin/updatetime is Amazon's wrapper around ntp, IIRC.
|
07-11-2013, 06:19 PM | #9 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Change the time server(s) or time server network(s) as desired per the directions. |
|
07-11-2013, 06:22 PM | #10 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Being a sysadmin, you can probably fix that better than we could. |
|
07-11-2013, 06:34 PM | #11 |
(offline)
Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
... this method has always worked for me:
https://wiki.mobileread.com/wiki/Kind..._the_time_zone |
07-11-2013, 06:38 PM | #12 | |
Member
Posts: 10
Karma: 536
Join Date: Jul 2013
Device: Kindle 4NT
|
Quote:
|
|
07-11-2013, 07:11 PM | #13 | |
(offline)
Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Quote:
I just tried it again on a Kindle Touch, and it worked again as expected (but only after a reboot, not immediately via SSH - not even if restarting the framework). EDIT: Yep... you're right. Even after setting up everything correctly, the K4 will simply stick to displaying UTC in the user interface. I guess "inability to show the correct timezone" is just one more thing to complain about to Amazon CS. I'm personally not terribly surprised. Last edited by ixtab; 07-11-2013 at 07:49 PM. |
|
07-12-2013, 08:51 AM | #14 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Ah, phooey.
Lab126 forgot the -u option use in their testing and/or scripting. And that crew **gets paid** to turn out this stuff! @ixtab: Any chance that Java is somewhere maintaining its own idea of the date/time/tz without reference to the system/hardware clocks? I.E: A module that should only be used on systems that do not have hardware date/time? Hmm... I guess I could re-write the ntpdate button to store local time in the hardware of the K4. But that seems kind of like a kludge to me. Last edited by knc1; 07-12-2013 at 08:56 AM. |
07-12-2013, 09:30 AM | #15 | |
(offline)
Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Quote:
It doesn't really make sense, but it's seemingly what they did. Maybe because they didn't even ship the files required to support time zones in the first place, so they assumed the only "existing" TZ would be UTC anyway? "Who needs more than one timezone anyway? Or, for that matter, who needs the correct date and time on an e-book reader?" |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Does any major publisher offer real-time sales reports? | J. Strnad | Writers' Corner | 7 | 10-24-2011 04:05 PM |
360 PB360 display gets "stripes" from time to time | klaetsch | PocketBook | 1 | 01-05-2011 04:49 AM |
Hacks How to Correct Date/Time of Kindle (without Wireless Access) | meem | Amazon Kindle | 4 | 08-20-2010 07:13 PM |
SONY PRS-700 "Date and Time" problems | dda | Sony Reader | 8 | 06-11-2009 01:13 PM |