Clarify how two digit years are parsed by QDateTime::fromString().
authorMitch Curtis <mitch.curtis@digia.com>
Thu, 3 Jan 2013 12:01:17 +0000 (13:01 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 3 Jan 2013 17:19:28 +0000 (18:19 +0100)
commit1b47059c886d76cc1a403e74abd034cce3b53a34
tree3950a5ae1c4b9c76869c4b9defcfb6f26702651c
parentee7dbf97bbec888a9a5abceeab87c4a570ef20fc
Clarify how two digit years are parsed by QDateTime::fromString().

It's currently not obvious that two digit years will always be in the
20th century (1900's).

Task-number: QTBUG-28797
Change-Id: I7dee9a46e0cb803a8f097debc5443d1789c2f16c
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
src/corelib/doc/snippets/code/src_corelib_tools_qdatetime.cpp
src/corelib/tools/qdatetime.cpp