Re: [bitpim-cvs-checkins] bitpim database.py,1.22,1.23 phonebook.py,1.132,1.133 phonebookentryeditor.py,1.37,1.38
"Roger Binns" <[email protected]>
| Newsgroups | gmane.comp.mobile.bitpim.devel |
|---|---|
| Message-ID | <00f401c5844f$5be6c3a0$3501a8c0@rogersqyvr14d3> |
> + if at_time is None: > + at_time=time.time() I would suggest setting it to infinite instead of the current time. Consider the case where the user has their clock forward for whatever reason and then moves it backwards. The above line will end up showing them a snapshot whereas using an infinite time will always show the latest data in the database no matter how the user has been playing with their clock. Roger ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar