12-28-2018, 06:00 PM | #1 |
Member
Posts: 19
Karma: 10000
Join Date: Dec 2018
Device: Paperwhite
|
Kindle timezone
Hi, anyone knowns how to set timezone in kindle paperwhite (not jailbroken)
This is my problem: I set time on kindle to 23:51 in javascript/browser i call Date.now() and i get 1546037486922 This is in GMT: Friday, December 28, 2018 22:51:26.922 So my kindle is somewhat in +1 timezone, from where this settings come from? When i set time on kindle to 22:57 (one hour less) Date.now() is 1546037913339 This is GMT: Friday, December 28, 2018 22:58:33.339 This give me +0 timezone It seems kindle is running in GMT and set the timezone from diff time you set and GMT time. This is very strange behaviour. Anybody have a explanation? |
12-28-2018, 08:06 PM | #2 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Which model Paperwhite?
Which version of the firmware? |
12-29-2018, 09:01 AM | #3 |
Member
Posts: 19
Karma: 10000
Join Date: Dec 2018
Device: Paperwhite
|
PW3, actual firmware
|
12-29-2018, 09:52 AM | #4 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
|
12-29-2018, 09:54 AM | #5 |
Member
Posts: 19
Karma: 10000
Join Date: Dec 2018
Device: Paperwhite
|
it is 5.9.7
|
12-29-2018, 09:57 AM | #6 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
OK, have you tried setting the date/time/timezone from the search bar command?
(same command sets all three at the same time) |
12-29-2018, 10:01 AM | #7 |
Member
Posts: 19
Karma: 10000
Join Date: Dec 2018
Device: Paperwhite
|
Thanks for reply, What do you mean exaktly by set time from searchbar?
|
12-29-2018, 10:02 AM | #8 |
Member
Posts: 19
Karma: 10000
Join Date: Dec 2018
Device: Paperwhite
|
If i set time with ;setTime command, behaviour is the same.
|
12-29-2018, 10:10 AM | #9 |
Member
Posts: 19
Karma: 10000
Join Date: Dec 2018
Device: Paperwhite
|
It seems to be as i write. Confirmed by ;411 command.
If i set my local time (offset +1 from GMT) kindle is running in +1 GMT If i set my local time to GMT it is running in GMT and so on So kindle knowns actual time and settings local time change the timezone Last edited by matopeto; 12-29-2018 at 10:16 AM. |
12-29-2018, 10:22 AM | #10 |
Member
Posts: 19
Karma: 10000
Join Date: Dec 2018
Device: Paperwhite
|
|
12-29-2018, 11:35 AM | #11 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
The search bar command simply makes a single call to the *nix date function without reformatting of input. Ref: http://man7.org/linux/man-pages/man1/date.1.html |
|
12-29-2018, 02:05 PM | #12 |
Member
Posts: 19
Karma: 10000
Join Date: Dec 2018
Device: Paperwhite
|
Thank you. It seems it is somewhat working I was able to set difrent time and GMT timezone.
|
12-29-2018, 05:10 PM | #13 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
There is a utility posted that will also correct the hardware clock (which "date" does not). But that requires a jail break to run it. The "somewhat working" you are seeing may just be the effect of not correcting the hardware clock. |
|
12-29-2018, 05:59 PM | #14 |
Member
Posts: 19
Karma: 10000
Join Date: Dec 2018
Device: Paperwhite
|
"somewhat working" i mean, that set diferent GMT time is workaroud to my problem.
Because kindle webbrowser doesn't report local timezone to javascript (that is correct according to ;411 command) and always report getTimezoneOffset() as zero. So if i need to show correct local time i need to set GMT to local time (in my case +1) (without using 3rd library and set the timezone by hand in javascript) Last edited by matopeto; 12-29-2018 at 06:07 PM. |
12-29-2018, 06:35 PM | #15 |
Grand Sorcerer
Posts: 5,324
Karma: 98809518
Join Date: Apr 2011
Device: pb360
|
If your computer is running ntpd and you have usb networking, you can ssh to your kindle and get the time from your computer.
Code:
ssh root@192.168.15.244 ################################################# # N O T I C E * N O T I C E * N O T I C E # ################################################# Rootfs is mounted read-only. Invoke mntroot rw to switch back to a writable rootfs. ################################################# [root@kindle root]# ntpdate 192.168.15.201 29 Dec 15:24:41 ntpdate[16285]: step time server 192.168.15.201 offset 16.067199 sec |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Set Timezone to UTC-7 | Mellobob | Kobo Reader | 6 | 11-23-2015 07:21 PM |
Troubleshooting Setting Timezone on WiFi kindle | twowheels | Amazon Kindle | 3 | 04-21-2011 04:08 PM |
V 0.6.41 - Timezone aware - how to use this feature? | solitaire | Calibre | 3 | 02-20-2010 05:10 AM |
iLiad Set Timezone on your iLiad | scotty1024 | iRex Developer's Corner | 14 | 05-19-2007 02:59 AM |