Skip to content

Commit 711b4d7

Browse files
committed
Doc: Remove mentioning of Qt Quick Calendar module
This seems to be a left-over from the 'Qt Quick Calendar' extension that is not supported anymore since Qt 6.3 (?). While at it, rewrite the whole paragraph for brevity. Pick-to: 6.9 Change-Id: Id1bef92d2e745fc4cbf761555d8aba0271edfc10 Reviewed-by: Mitch Curtis <[email protected]>
1 parent 1fbaffd commit 711b4d7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/quickcontrols/doc/src/includes/zero-based-months.qdocinc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
The Qt Quick Calendar module uses 0-based month numbers to be consistent
2-
with the JavaScript Date type, that is used by the QML language. This
3-
means that \c Date::getMonth() can be passed to the methods as is. When
4-
dealing with month numbers directly, it is highly recommended to use the
5-
following enumeration values to avoid confusion.
1+
Calendar-related types in \l{Qt Quick Controls} use 0-based month numbers,
2+
like the JavaScript Date objects. However, this differs from
3+
\l QDate, where the months are numbered starting from 1.
4+
5+
To avoid confusion, you can use the following enumeration values:
66

77
\value Calendar.January January (0)
88
\value Calendar.February February (1)

0 commit comments

Comments
 (0)