Squashed commit of the following:

commit 613e6af7f0dfa3862dff117fadbb7194a29b8dbd
Author: Sabe Jones <sabe@habitica.com>
Date:   Tue Sep 3 16:57:02 2024 -0500

    feat(promo): add canonical dates for gem sales

commit 8e2fbebf3c663b0d5af5c10f3019726dbed1ca31
Author: Sabe Jones <sabe@habitica.com>
Date:   Fri Aug 23 17:08:20 2024 -0500

    fix(gems): correct Gem amounts during sale

commit 85853c697ba8eb5e6d0e053e1fe1eab295028f23
Author: Sabe Jones <sabe@habitica.com>
Date:   Fri Aug 16 16:57:02 2024 -0500

    fix(event): show user timezone to compare to UTC

commit a0a312a315cb2efad0db9370109cb036a8af0b0a
Author: Sabe Jones <sabe@habitica.com>
Date:   Fri Aug 16 15:49:08 2024 -0500

    refactor(promo): add UTC parenthetical
This commit is contained in:
Sabe Jones
2024-09-03 17:03:21 -05:00
parent dd334f487e
commit fb626ebf7e
5 changed files with 68 additions and 53 deletions

View File

@@ -83,6 +83,16 @@ export const REPEATING_EVENTS = {
season: 'habitoween',
npcImageSuffix: '_halloween',
},
fallGemSale: {
start: new Date('1970-09-23T04:00-04:00'),
end: new Date('1970-09-27T23:59-04:00'),
event: 'fall_extra_gems',
},
spookyGemSale: {
start: new Date('1970-10-28T04:00-04:00'),
end: new Date('1970-11-01T23:59-04:00'),
event: 'spooky_extra_gems',
},
harvestFeast: {
start: new Date('1970-11-22T08:00-05:00'),
end: new Date('1970-11-27T20:00-05:00'),
@@ -186,11 +196,6 @@ export const EVENTS = {
start: '2023-11-09T08:00-04:00',
end: '2023-11-30T23:59-04:00',
},
spooky_extra_gems: {
start: '2023-10-24T08:00-04:00',
end: '2023-10-31T23:59-04:00',
gemsPromo,
},
bundle202310: {
start: '2023-10-17T08:00-04:00',
end: '2023-10-31T23:59-04:00',
@@ -308,11 +313,6 @@ export const EVENTS = {
season: 'fall',
gear: true,
},
fall_extra_gems: {
start: '2022-10-06T08:00-04:00',
end: '2022-10-13T20:00-04:00',
gemsPromo,
},
bundle202210: {
start: '2022-10-13T08:00-04:00',
end: '2022-10-31T20:00-04:00',