--- boost/date_time/date_parsing.hpp~ 2008-02-27 16:00:24.000000000 -0400 +++ boost/date_time/date_parsing.hpp 2008-11-20 22:01:51.000000000 -0400 @@ -78,7 +78,7 @@ * arrays is from 0 to 'limit'. The index of the match is returned. * Ex. "Jan" returns 0, "Dec" returns 11, "Tue" returns 2. * 'limit' can be sent in with: greg_month::max(), - * greg_weekday::max() or date_time::NumSpecialValues */ + * greg_weekday::max() or (date_time::NumSpecialValues - 1) */ template short find_match(const charT* const* short_names, const charT* const* long_names, --- libs/date_time/src/gregorian/greg_month.cpp~ 2008-02-27 16:00:24.000000000 -0400 +++ libs/date_time/src/gregorian/greg_month.cpp 2008-11-20 19:01:47.000000000 -0400 @@ -73,9 +73,9 @@ special_values special_value_from_string(const std::string& s) { short i = date_time::find_match(special_value_names, special_value_names, - date_time::NumSpecialValues, + date_time::NumSpecialValues - 1, s); - if(i > date_time::NumSpecialValues) { // match not found + if(i > date_time::NumSpecialValues - 1) { // match not found return not_special; } else {