If it's a bug, I'd be happy to rewrite this routine, unless it was not meant to handle this format... :)According to the description of TryStrToDate (https://www.freepascal.org/docs-html/rtl/sysutils/trystrtodate.html):
The Date must consist of 1 to three digitsThis means that 'd' and 'dd' should be acceptable in your example, while 'ddd' up to 'dddddd' should not be acceptable. So not a bug in my opinion.