changed exchange rate date to first of the next month from created date

This commit is contained in:
Joaquin Ossa 2025-01-20 16:51:57 +01:00
parent 1a692a044b
commit 15e0993b36

View file

@ -48,4 +48,4 @@ left join
int_simple_exchange_rates ser
on chu.currency_code = ser.from_currency
and ser.to_currency = 'GBP'
and c.created_date_utc = ser.rate_date_utc
and ser.rate_date_utc = date_trunc('month', c.created_date_utc) + interval '1 month'