Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 12-29-2018, 06:38 PM   #16
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by matopeto View Post
"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)
Same, same as Windows has always been (gmt set to local time)
So for this one aspect, forget your programming *nix.
knc1 is offline   Reply With Quote
Old 12-29-2018, 06:40 PM   #17
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by j.p.s View Post
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
(Use different IP addresses if you changed defaults)
Device is not jail broken.
Which sort of limits what can be done in the Java sandbox.
knc1 is offline   Reply With Quote
Advert
Old 12-29-2018, 08:41 PM   #18
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by j.p.s View Post
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
(Use different IP addresses if you changed defaults)
There is a KUAL button for that purpose. (and it also sets the hardware clock)
Since you have root access, you might as well jail break the device.
(Which is just adding our cert to /etc/uks directory)
knc1 is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 08:30 PM.


MobileRead.com is a privately owned, operated and funded community.