feat(event): Valentine's 2021

This commit is contained in:
Sabe Jones
2021-02-08 16:12:10 -06:00
parent aa227f9861
commit 8c59014b05
3 changed files with 10 additions and 5 deletions

View File

@@ -14,10 +14,15 @@ const gemsPromo = {
// Unless we want a precise ending, for example during a Gems sale / promotion.
export const EVENTS = {
noCurrentEvent2021: {
start: '2021-01-31T20:00-05:00',
end: '2021-03-20T08:00-05:00',
start: '2021-02-16T08:00-05:00',
end: '2021-03-07T08:00-05:00',
season: 'normal',
},
valentines2021: {
start: '2021-02-07T08:00-05:00',
end: '2021-02-16T08:00-05:00',
season: 'valentines',
},
winter2021: {
start: '2020-12-17T08:00-05:00',
end: '2021-01-31T20:00-05:00',

View File

@@ -66,7 +66,7 @@ const premium = {
text: t('hatchingPotionCupid'),
limited: true,
canBuy () {
return moment().isBefore('2020-03-02');
return moment().isBefore('2021-02-28T20:00-05:00');
},
},
Shimmer: {
@@ -240,7 +240,7 @@ const premium = {
text: t('hatchingPotionRoseQuartz'),
limited: true,
canBuy () {
return moment().isBefore('2020-03-02');
return moment().isBefore('2021-02-28T20:00-05:00');
},
},
Celestial: {

View File

@@ -119,7 +119,7 @@ api.cardTypes = {
valentine: {
key: 'valentine',
messageOptions: 4,
yearRound: moment().isBefore('2020-03-02'),
yearRound: moment().isBefore('2021-02-28T20:00-05:00'),
},
birthday: {
key: 'birthday',