Adjust date format for custom implementation