def _jinja2_filter_datetime_local(datetime): if datetime is None: return 'None' return naturaltime(datetime)