chore(content): add pet quest bundle and magic hatching potions for February (#14499)

This commit is contained in:
Natalie L
2023-02-13 00:17:09 -05:00
committed by GitHub
parent 7b4cfee290
commit 8f4d668b0f
4 changed files with 39 additions and 14 deletions

View File

@@ -62,8 +62,13 @@ const premium = {
value: 2,
text: t('hatchingPotionCupid'),
limited: true,
event: EVENTS.potions202302,
_addlNotes: t('eventAvailabilityReturning', {
availableDate: t('dateEndFebruary'),
previousDate: t('februaryYYYY', { year: 2022 }),
}),
canBuy () {
return moment().isBefore('2022-02-28T20:00-05:00');
return moment().isBetween(EVENTS.potions202302.start, EVENTS.potions202302.end);
},
},
Shimmer: {
@@ -278,8 +283,13 @@ const premium = {
value: 2,
text: t('hatchingPotionRoseQuartz'),
limited: true,
event: EVENTS.potions202302,
_addlNotes: t('eventAvailabilityReturning', {
availableDate: t('dateEndFebruary'),
previousDate: t('februaryYYYY', { year: 2022 }),
}),
canBuy () {
return moment().isBefore('2022-02-28T20:00-05:00');
return moment().isBetween(EVENTS.potions202302.start, EVENTS.potions202302.end);
},
},
Celestial: {