diff --git a/website/common/script/content/constants/events.js b/website/common/script/content/constants/events.js index 84896195bc..2349bcbffc 100644 --- a/website/common/script/content/constants/events.js +++ b/website/common/script/content/constants/events.js @@ -10,11 +10,15 @@ const gemsPromo = { export const EVENTS = { noEvent: { - start: '2023-05-01T23:59-04:00', + start: '2023-05-31T23:59-04:00', end: '2023-06-22T08:00-04:00', season: 'normal', npcImageSuffix: '', }, + potions202305: { + start:'2023-05-16T08:00-04:00', + end:'2023-05-31T23:59-04:00', + }, aprilFools2023: { start: '2023-04-01T08:00-04:00', end: '2023-04-02T08:00-04:00', diff --git a/website/common/script/content/hatching-potions.js b/website/common/script/content/hatching-potions.js index 60d1cf21eb..00ddd38cf9 100644 --- a/website/common/script/content/hatching-potions.js +++ b/website/common/script/content/hatching-potions.js @@ -88,26 +88,26 @@ const premium = { value: 2, text: t('hatchingPotionFairy'), limited: true, - event: EVENTS.potions202105, + event: EVENTS.potions202305, _addlNotes: t('eventAvailabilityReturning', { availableDate: t('dateEndMay'), - previousDate: t('mayYYYY', { year: 2020 }), + previousDate: t('mayYYYY', { year: 2021 }), }), canBuy () { - return moment().isBefore(EVENTS.potions202105.end); + return moment().isBefore(EVENTS.potions202305.end); }, }, Floral: { value: 2, text: t('hatchingPotionFloral'), limited: true, - event: EVENTS.potions202205, + event: EVENTS.potions202305, _addlNotes: t('eventAvailabilityReturning', { availableDate: t('dateEndMay'), - previousDate: t('mayYYYY', { year: 2021 }), + previousDate: t('mayYYYY', { year: 2022 }), }), canBuy () { - return moment().isBefore(EVENTS.potions202205.end); + return moment().isBefore(EVENTS.potions202305.end); }, }, Aquatic: { diff --git a/website/common/script/content/shop-featuredItems.js b/website/common/script/content/shop-featuredItems.js index 4f0c2e58a3..57ca7da7ff 100644 --- a/website/common/script/content/shop-featuredItems.js +++ b/website/common/script/content/shop-featuredItems.js @@ -5,7 +5,7 @@ import { EVENTS } from './constants'; // path: 'premiumHatchingPotions.Rainbow', const featuredItems = { market () { - if (moment().isBetween(EVENTS.spring2023.start, EVENTS.spring2023.end)) { + if (moment().isBetween(EVENTS.potions202305.start, EVENTS.potions202305.end)) { return [ { type: 'armoire', @@ -13,15 +13,15 @@ const featuredItems = { }, { type: 'premiumHatchingPotion', - path: 'premiumHatchingPotions.PolkaDot', + path: 'premiumHatchingPotions.Fairy', }, { type: 'premiumHatchingPotion', - path: 'premiumHatchingPotions.BirchBark', + path: 'premiumHatchingPotions.Floral', }, { - type: 'premiumHatchingPotion', - path: 'premiumHatchingPotions.Rainbow', + type: 'hatchingPotions', + path: 'hatchingPotions.Golden', }, ]; }