copied over month_year widget enhancements from hco branch
copied date_range function from hco branch