From 5f0af8c1966b59924383a6af7d544233ee12661c Mon Sep 17 00:00:00 2001 From: Anton Karpov Date: Wed, 5 Aug 2026 17:27:51 +0300 Subject: [PATCH] Fix three parameter tags local_is_dst documents dst_length_minutes; the parameter is dst_length, and it is a time_duration_type rather than a count of minutes. gather_month_strings and gather_weekday_strings tag charT with @param while it is the template parameter, so Doxygen looks for an argument by that name and finds none. --- include/boost/date_time/dst_rules.hpp | 2 +- include/boost/date_time/strings_from_facet.hpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/boost/date_time/dst_rules.hpp b/include/boost/date_time/dst_rules.hpp index 760d9cc41..03a808e98 100644 --- a/include/boost/date_time/dst_rules.hpp +++ b/include/boost/date_time/dst_rules.hpp @@ -94,7 +94,7 @@ namespace boost { * @param dst_start_offset Time offset within day for dst boundary * @param dst_end_day Ending day of dst for the given locality * @param dst_end_offset Time offset within day given in dst for dst boundary - * @param dst_length_minutes length of dst adjusment + * @param dst_length length of dst adjusment * @retval The time is either ambiguous, invalid, in dst, or not in dst */ static time_is_dst_result diff --git a/include/boost/date_time/strings_from_facet.hpp b/include/boost/date_time/strings_from_facet.hpp index cecd32faa..c5b467851 100644 --- a/include/boost/date_time/strings_from_facet.hpp +++ b/include/boost/date_time/strings_from_facet.hpp @@ -23,7 +23,7 @@ namespace boost { namespace date_time { * all the month strings from a locale. This is handy when building * custom date parsers or formatters that need to be localized. * - *@param charT The type of char to use when gathering typically char + *@tparam charT The type of char to use when gathering typically char * or wchar_t. *@param locale The locale to use when gathering the strings *@param short_strings True(default) to gather short strings, @@ -73,7 +73,7 @@ gather_month_strings(const std::locale& locale, bool short_strings=true) * 'Sunday'. This is handy when building custom date parsers or * formatters that need to be localized. * - *@param charT The type of char to use when gathering typically char + *@tparam charT The type of char to use when gathering typically char * or wchar_t. *@param locale The locale to use when gathering the strings *@param short_strings True(default) to gather short strings,