From 128608dc251d2c8721886b282ead8b17fcf306e6 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 20 Oct 2019 15:37:13 +0200 Subject: [PATCH] Fix mistake in wxDateTime::Tm struct documentation yday field values starts from 0 and mday starts from 1, contrary to what was actually written. Closes #18534. --- interface/wx/datetime.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/wx/datetime.h b/interface/wx/datetime.h index 1ee65c549c..fc88a79dd6 100644 --- a/interface/wx/datetime.h +++ b/interface/wx/datetime.h @@ -274,7 +274,7 @@ public: This struct is analogous to standard C struct tm and uses the same, not always immediately obvious, conventions for its members: - notably its mon and mday fields count from 0 while yday counts from 1. + notably its mon and yday fields count from 0 while mday counts from 1. */ struct Tm {