This commit is contained in:
James Cole
2025-02-09 05:52:18 +01:00
parent edab602bb7
commit 70d83ab501
3 changed files with 71 additions and 1 deletions

View File

@@ -137,7 +137,7 @@ class ExchangeRateConverter
// combined (if present), they can be used to calculate the necessary conversion rate.
if (0 === bccomp('0', $first) || 0 === bccomp('0', $second)) {
Log::warning(sprintf('There is not enough information to convert %s to %s on date %d', $from->code, $to->code, $date->format('Y-m-d')));
Log::warning(sprintf('There is not enough information to convert %s to %s on date %s', $from->code, $to->code, $date->format('Y-m-d')));
return '1';
}