mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
feat(content): enable quest bundle
also fix some date display and a Vue error
This commit is contained in:
@@ -38,8 +38,9 @@ const bundles = {
|
||||
'turtle',
|
||||
'whale',
|
||||
],
|
||||
event: EVENTS.bundle202106,
|
||||
canBuy () {
|
||||
return moment().isBetween('2019-07-17', '2019-08-02');
|
||||
return moment().isBefore(EVENTS.bundle202106.end);
|
||||
},
|
||||
type: 'quests',
|
||||
class: 'quest_bundle_splashyPals',
|
||||
|
||||
@@ -10,11 +10,17 @@ const gemsPromo = {
|
||||
|
||||
export const EVENTS = {
|
||||
noCurrentEvent2021: {
|
||||
start: '2021-05-31T20:00-05:00',
|
||||
start: '2021-07-31T20:00-05:00',
|
||||
end: '2021-08-23T08:00-05:00',
|
||||
season: 'normal',
|
||||
npcImageSuffix: '',
|
||||
},
|
||||
bundle202106: {
|
||||
start: '2021-06-08T08:00-05:00',
|
||||
end: '2021-07-31T20:00-05:00',
|
||||
season: 'normal',
|
||||
npcImageSuffix: '',
|
||||
},
|
||||
potions202105: {
|
||||
start: '2021-05-11T08:00-05:00',
|
||||
end: '2021-05-31T20:00-05:00',
|
||||
|
||||
Reference in New Issue
Block a user