roughly equivalent to datetime.strftime but aware of the partially known, unknown, uncertain, etc.
may be able to adapt from related work from Shakespeare and Company Project, which has a custom django template tag for partial dates that works like the django built-in date template tag with handling for unknown parts of the date