Skip to content

Commit

Permalink
Renamed parameter dst_length_minutes to dst_length. (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
ehrlin authored and jeking3 committed Mar 4, 2019
1 parent 5902a0e commit b0437e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/boost/date_time/dst_rules.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<unsigned>(
dst_start_offset.hours() * 60 + dst_start_offset.minutes());
unsigned int end_minutes = static_cast<unsigned>(
dst_end_offset.hours() * 60 + dst_end_offset.minutes());
long length_minutes = static_cast<long>(
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,
Expand Down

0 comments on commit b0437e2

Please sign in to comment.