mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
feat(event): Valentine's 2020
This commit is contained in:
@@ -62,6 +62,9 @@ const premium = {
|
||||
value: 2,
|
||||
text: t('hatchingPotionCupid'),
|
||||
limited: true,
|
||||
canBuy () {
|
||||
return moment().isBefore('2020-03-02');
|
||||
},
|
||||
},
|
||||
Shimmer: {
|
||||
value: 2,
|
||||
@@ -187,6 +190,9 @@ const premium = {
|
||||
value: 2,
|
||||
text: t('hatchingPotionRoseQuartz'),
|
||||
limited: true,
|
||||
canBuy () {
|
||||
return moment().isBefore('2020-03-02');
|
||||
},
|
||||
},
|
||||
Celestial: {
|
||||
value: 2,
|
||||
@@ -273,7 +279,7 @@ each(premium, (pot, key) => {
|
||||
potText: pot.text,
|
||||
}),
|
||||
_addlNotes: t('eventAvailability', {
|
||||
date: t(`dateEnd${pot._season}`),
|
||||
date: t('dateEndFebruary'),
|
||||
}),
|
||||
premium: true,
|
||||
limited: false,
|
||||
|
||||
Reference in New Issue
Block a user