View Single Post
Old 11-03-2026, 02:26 PM   #8
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 14,206
Karma: 84699244
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Quote:
Originally Posted by bluepeter View Post
I'm also curious. Thank you for that, but I'm afraid that the code quoted above means nothing to me: I lack the relevant education.

I was aware that KU creates a file on the device. But what does the device then do with that file? My assumption is that when it's disconnected, it somehow sees that the new file exists, reads it, checks the file's datestamp against the internal clock, takes the time written by the source computer in the file, adds the elapsed time between creation and now, and then sets the clock to the resulting time. Is that correct?
I expect the logic on the Kobo is that if the file exists it's read and the value from it is used to set the device Time. (Beaware that on Linux systems the time is stored as the number of seconds from 1970/01/01 00:00:00). Once the file has been processed it is removed from the device.

Sent from my SM-X238U using Tapatalk
PeterT is offline   Reply With Quote