This is my resource key:
Expired {0} days ago
This is the definition of the StringResourceModel:
new StringResourceModel("store.expired.tooltip", null, Days.daysBetween(expirationDate, refDate));
Expected result would be something like Expired 20 days
ago but the actual result is Expired P20D ago
.
Any idea what is causing this? I think I do everything right but not sure.