Add _d digit support to category and date items for string templates