boostorg / date_time

Boost.org date_time module
http://boost.org/libs/date_time
Boost Software License 1.0
67 stars 95 forks source link

Fix typo in time_period end() example #212

Closed Quinnsicle closed 2 years ago

Quinnsicle commented 2 years ago

image

Highlighted is the typo, this should be tp.end() not tp.last(), as this is an example of the behavior of the end() accessor. I've tested these functions and have confirmed the behavior matches the example.

JeffGarland commented 2 years ago

Thanks for the patch.