mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-13 15:38:59 +00:00
fix(potions): use normal release date notes
This commit is contained in:
parent
f8ba191eea
commit
f66b05f707
1 changed files with 6 additions and 8 deletions
|
|
@ -192,9 +192,8 @@ const premium = {
|
||||||
value: 2,
|
value: 2,
|
||||||
text: t('hatchingPotionPeppermint'),
|
text: t('hatchingPotionPeppermint'),
|
||||||
limited: true,
|
limited: true,
|
||||||
_addlNotes: t('eventAvailabilityReturning', {
|
_addlNotes: t('eventAvailability', {
|
||||||
availableDate: t('dateEndJanuary'),
|
date: t('dateEndJanuary'),
|
||||||
previousDate: t('januaryYYYY', { year: 2022 }),
|
|
||||||
}),
|
}),
|
||||||
event: EVENTS.winter2024,
|
event: EVENTS.winter2024,
|
||||||
canBuy () {
|
canBuy () {
|
||||||
|
|
@ -271,9 +270,8 @@ const premium = {
|
||||||
text: t('hatchingPotionIcySnow'),
|
text: t('hatchingPotionIcySnow'),
|
||||||
limited: true,
|
limited: true,
|
||||||
event: EVENTS.winter2024,
|
event: EVENTS.winter2024,
|
||||||
_addlNotes: t('eventAvailabilityReturning', {
|
_addlNotes: t('eventAvailability', {
|
||||||
availableDate: t('dateEndJanuary'),
|
date: t('dateEndJanuary'),
|
||||||
previousDate: t('novemberYYYY', { year: 2022 }),
|
|
||||||
}),
|
}),
|
||||||
canBuy () {
|
canBuy () {
|
||||||
return moment().isBetween(EVENTS.winter2024.start, EVENTS.winter2024.end);
|
return moment().isBetween(EVENTS.winter2024.start, EVENTS.winter2024.end);
|
||||||
|
|
@ -469,8 +467,8 @@ const premium = {
|
||||||
value: 2,
|
value: 2,
|
||||||
text: t('hatchingPotionStainedGlass'),
|
text: t('hatchingPotionStainedGlass'),
|
||||||
limited: true,
|
limited: true,
|
||||||
_addlNotes: t('eventAvailabilityReturning', {
|
_addlNotes: t('eventAvailability', {
|
||||||
availableDate: t('dateEndJanuary'),
|
date: t('dateEndJanuary'),
|
||||||
}),
|
}),
|
||||||
event: EVENTS.winter2024,
|
event: EVENTS.winter2024,
|
||||||
canBuy () {
|
canBuy () {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue