Merge branch '2023-winner-funderlamb' into release

by @CuriousMagpie
This commit is contained in:
SabreCat
2023-12-17 19:36:15 -06:00
parent 19253cd9b5
commit 8a45f753ca
15 changed files with 442 additions and 49 deletions

View File

@@ -193,12 +193,12 @@ const premium = {
text: t('hatchingPotionPeppermint'),
limited: true,
_addlNotes: t('eventAvailabilityReturning', {
availableDate: t('dateStartFebruary'),
availableDate: t('dateEndJanuary'),
previousDate: t('januaryYYYY', { year: 2022 }),
}),
event: EVENTS.birthday10,
event: EVENTS.winter2024,
canBuy () {
return moment().isBetween(EVENTS.birthday10.start, EVENTS.birthday10.end);
return moment().isBetween(EVENTS.winter2024.start, EVENTS.winter2024.end);
},
},
StarryNight: {
@@ -270,13 +270,13 @@ const premium = {
value: 2,
text: t('hatchingPotionIcySnow'),
limited: true,
event: EVENTS.winter2024,
_addlNotes: t('eventAvailabilityReturning', {
availableDate: t('dateEndJanuary'),
previousDate: t('decemberYYYY', { year: 2018 }),
previousDate: t('novemberYYYY', { year: 2022 }),
}),
event: EVENTS.winter2021,
canBuy () {
return moment().isBetween('2020-12-22T08:00-04:00', '2021-01-31T20:00-04:00');
return moment().isBetween(EVENTS.winter2024.start, EVENTS.winter2024.end);
},
},
RoseQuartz: {
@@ -470,12 +470,11 @@ const premium = {
text: t('hatchingPotionStainedGlass'),
limited: true,
_addlNotes: t('eventAvailabilityReturning', {
availableDate: t('dateStartFebruary'),
previousDate: t('januaryYYYY', { year: 2022 }),
availableDate: t('dateEndJanuary'),
}),
event: EVENTS.birthday10,
event: EVENTS.winter2024,
canBuy () {
return moment().isBetween(EVENTS.birthday10.start, EVENTS.birthday10.end);
return moment().isBetween(EVENTS.winter2024.start, EVENTS.winter2024.end);
},
},
PolkaDot: {