Clarify how days are counted in QDateTime::daysTo documentation.
authorMitch Curtis <mitch.curtis@nokia.com>
Mon, 6 Aug 2012 10:08:42 +0000 (12:08 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 8 Aug 2012 07:43:45 +0000 (09:43 +0200)
commitebbd8e66717e7bf400b395e240569e72409c9959
treedaafb8dd1bbff26fd8cb283601684c2a43294e94
parent6820f1716e991ef5e3e83d3f09658197417e4db5
Clarify how days are counted in QDateTime::daysTo documentation.

Mention that the days are counted as the amount of times midnight is
reached between the start and end date.

Task-number: QTBUG-26780
Change-Id: I22ff6c56b748ac968d6991e0be3e10905c0634bd
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/corelib/doc/snippets/code/src_corelib_tools_qdatetime.cpp
src/corelib/tools/qdatetime.cpp