fix cache
This commit is contained in:
@@ -16,8 +16,8 @@ export type EsiMarketOrderHistory = {
|
|||||||
const historyCache: RegionalMarketCache<EsiMarketOrderHistory[]> = new RegionalMarketCache(() => {
|
const historyCache: RegionalMarketCache<EsiMarketOrderHistory[]> = new RegionalMarketCache(() => {
|
||||||
const date = new Date();
|
const date = new Date();
|
||||||
|
|
||||||
if (date.getUTCHours() < 11) {
|
if (date.getUTCHours() >= 11) {
|
||||||
date.setUTCDate(date.getUTCDate() - 1);
|
date.setUTCDate(date.getUTCDate() + 1);
|
||||||
}
|
}
|
||||||
date.setUTCHours(11, 0, 0, 0);
|
date.setUTCHours(11, 0, 0, 0);
|
||||||
return date;
|
return date;
|
||||||
|
|||||||
Reference in New Issue
Block a user