RubyMoney / eu_central_bank

A gem that calculates the exchange rate using published rates from European Central Bank. Compatible with the money gem
MIT License
217 stars 130 forks source link

Unexpected conversion on rates_updated_at (Time is suddenly Date ) #119

Closed sushie1984 closed 1 year ago

sushie1984 commented 2 years ago

When using eu_central_bank version 1.6.1 (and maybe lower) calling rates_updated_at returns Time. However in version 1.7.0 this type appears as Date in our systems.

Do you think it makes sense to explicitly cast this as a Time object (e.g in here)?

Or do you see that the culprit based on our nokogiri version (which is 1.13.3)