add get_menu_url(location, date=None) function