When duplicating migrated invoices or quotes, or crediting a migrated invoice and updating the date, you may see that the due date, or the expiry date has not updated to reflect the new transaction date.
This will resolve with invoices or quotes created in the browser version.