Fix doc code example (`datetime.date`) and improve formatting
Fix doc code example (`datetime.date`) and improve formatting

dimagi/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq