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