def A(self):
        if self.data.hour > 11:
            return _('PM')
        return _('AM')
'AM' or 'PM'
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/utils/dateformat.py/TimeFormat.A