Le 20 févr. 2010 à 15:09, Jérôme Laheurte a écrit :
> 
> I still have to fix a bug (on Mac OS X, the midnight refresh does not work)

Okay, this relates to the fixes I already did on reminders. Remember how the 
timer would fire a few miliseconds before the actual requested date ? The fix 
for reminders was to keep the requested date and use it for the event name but 
this does not work for the midnight refresh, because it actually happens before 
midnight, so viewers are not refreshed correctly (this happens a lot on Mac OS 
X but not on Linux)... This night, it fired at 23:59:58...

So, either I try to fix the timer stuff, which will be difficult since timers 
are not meant to be precise, or I kludge by putting a sleep before refreshing 
(computing the time remaining before actual midnight)... What do you think ?

Cheers
Jérôme

Reply via email to