From b0437e2999a65668dc4178dbb817a89a382ece94 Mon Sep 17 00:00:00 2001 From: ehrlin <47039513+ehrlin@users.noreply.github.com> Date: Mon, 4 Mar 2019 17:29:48 +0100 Subject: [PATCH] Renamed parameter dst_length_minutes to dst_length. (#96) --- include/boost/date_time/dst_rules.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/date_time/dst_rules.hpp b/include/boost/date_time/dst_rules.hpp index c96cae264..0c7aecef9 100644 --- a/include/boost/date_time/dst_rules.hpp +++ b/include/boost/date_time/dst_rules.hpp @@ -104,14 +104,14 @@ namespace boost { const time_duration_type& dst_start_offset, const date_type& dst_end_day, const time_duration_type& dst_end_offset, - const time_duration_type& dst_length_minutes) + const time_duration_type& dst_length) { unsigned int start_minutes = static_cast( dst_start_offset.hours() * 60 + dst_start_offset.minutes()); unsigned int end_minutes = static_cast( dst_end_offset.hours() * 60 + dst_end_offset.minutes()); long length_minutes = static_cast( - dst_length_minutes.hours() * 60 + dst_length_minutes.minutes()); + dst_length.hours() * 60 + dst_length.minutes()); return local_is_dst(current_day, time_of_day, dst_start_day, start_minutes,