Entering ‘30’ in the “Number of days (optional)” field results in the following error:

Unable to ban user

Client error. Code: 400. Message: ban_expiration_in_past.

How can a positive number of days be in the past?