feat(content): add August Pet Quest Bundles and Magic Hatching Potions (#14786)

* feat(content): add June subscriber items

* feat(content): add August pet quest bundle and magic hatching potions

* fix(time): updated start time to 0800EDT

* fix(content): correct start date for potions

---------

Co-authored-by: Sabe Jones <sabrecat@gmail.com>
This commit is contained in:
Natalie L
2023-08-14 15:37:42 -04:00
committed by GitHub
parent b679cfb935
commit d564944507
4 changed files with 31 additions and 23 deletions

View File

@@ -140,13 +140,13 @@ const premium = {
value: 2,
text: t('hatchingPotionThunderstorm'),
limited: true,
event: EVENTS.bundle202211,
event: EVENTS.potions202308,
_addlNotes: t('eventAvailabilityReturning', {
availableDate: t('dateEndNovember'),
previousDate: t('novemberYYYY', { year: 2021 }),
availableDate: t('dateEndAugust'),
previousDate: t('novemberYYYY', { year: 2022 }),
}),
canBuy () {
return moment().isBetween(EVENTS.bundle202211.start, EVENTS.bundle202211.end);
return moment().isBetween(EVENTS.potions202308.start, EVENTS.potions202308.end);
},
},
Spooky: {
@@ -542,13 +542,13 @@ const premium = {
value: 2,
text: t('hatchingPotionPorcelain'),
limited: true,
event: EVENTS.birthday10,
event: EVENTS.potions202308,
_addlNotes: t('eventAvailabilityReturning', {
availableDate: t('dateStartFebruary'),
previousDate: t('augustYYYY', { year: 2022 }),
availableDate: t('dateStartAugust'),
previousDate: t('februaryYYYY', { year: 2022 }),
}),
canBuy () {
return moment().isBetween(EVENTS.birthday10.start, EVENTS.birthday10.end);
return moment().isBetween(EVENTS.potions202308.start, EVENTS.potions202308.end);
},
},
PinkMarble: {