don't allow sleep records to be saved that exceed a certain reasonable duration
Preventing obviously invalid sleep periods should be something the record tab does to help people from winding up in situations like this one:
On Fri, Jun 3, 2011 at 2:47 PM, Adrien <...> wrote:
I found out why there was some mistakes in the statistics. Apparently my 1st of June night had a length of one month (since May 1st), sleepmeter showed a question mark instead of the length, and so it messed it all up.
Have a nice week end !