Fixed date issue in PDF