From: Niels V. C. <vor...@ma...> - 2008-04-24 08:09:58
|
Hi. I was working on a patch for Gnome's Rhythmbox, that would make the iPod able to display the date of podcast tracks. All I had to do was to set the time_released field of Itdb_Track's associated with podcasts. But I noticed that the iPod displayed dates off by one for some of the podcasts. The iPod is a Fat Nano. During my investigation of this i noticed two things: Firstly, the libgpod code seems unable to detect the timezone of the device. And secondly, the functions device_time_mac_to_time_t() and device_time_time_t_to_mac() uses a timezone_shift when converting between time representations. This is what causes the wrong dates on my iPod. Somewhere in the code I saw a notice about iPods not handling timezones correctly, so maybe a bug in the firmware was fixed? Regards, Niels |