Use xdate library for parsing and formatting dates in comments.