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