id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 7111,Switch case's default missing in date_time,Gaurav Gupta ,Marshall Clow,"In file boost/date_time/date_formatting.hpp in following code block, '''default case''' of switch condition is missing.Switch case should not be used without default case ideally.In case of default, code should break from the loop. {{{ static ostream_type& format_month(const month_type& month, ostream_type &os) { switch (format_type::month_format()) { case month_as_short_string: { os << month.as_short_string(); break; } case month_as_long_string: { os << month.as_long_string(); break; } case month_as_integer: { os << std::setw(2) << std::setfill(os.widen('0')) << month.as_number(); break; } } return os; } // format_month }; }}} Attached patch is the fix for it. ",Feature Requests,closed,To Be Determined,date_time,Boost 1.51.0,Cosmetic,fixed,,yogen.saini@… viboes