fix formatting of grant_date and qr codes for certificates