Fixed price modifier date inclusion (#958)

* Support price config end before start

* More changes to fix price modifiers

* More changes to fix price modifiers
This commit is contained in:
Gunnar Skjold
2025-06-05 07:40:09 +02:00
committed by GitHub
parent 03c8c3ddbc
commit 3eaefefd26
2 changed files with 53 additions and 31 deletions

View File

@@ -129,5 +129,6 @@ private:
PricesContainer* fetchPrices(time_t);
bool retrieve(const char* url, Stream* doc);
float getCurrencyMultiplier(const char* from, const char* to, time_t t);
bool timeIsInPeriod(tmElements_t tm, PriceConfig pc);
};
#endif