function api_getConstituencies_date($date) {
	if ($date = parse_date($date)) {
		api_getConstituencies('"' . $date['iso'] . '"');
	} else {
		api_error('Invalid date format');
	}
}
Example #2
0
function api_getDivisions($date = 'now()')
{
    api_getConstituencies($date);
}