After upgrading from Zabbix 5.2.4 to 5.4.0, our calculated items that had "0" configured for its time shift was now converted to ":now-0s" which is not working.
These calculated items are now reporting "invalid second parameter" error, eg.
In Zabbix 5.2.4 the expression that worked was:
To fix the issue I had to go and search the database for all calculated items that included "%now-0s%" and then I went into the UI to fix it by simply removing ":now-0s":
I kind of expected this timeshift of now-0s to work, or that the migration should have excluded it from the expression.