@register.filter
def apmonthname(value):
	try:
		value = int(value)
	except:
		pass
	
	try:
		return MONTHS_AP[value]
	except KeyError:
		return value
Returns the Associated Press abbreviated month name for the supplied numeric value.
dataset/ETHPy150Open ithinksw/philo/philo/contrib/penfield/templatetags/penfield.py/apmonthname