fixing dates and offsets

This commit is contained in:
CuriousMagpie
2024-08-30 11:50:51 -04:00
committed by Phillip Thelen
parent f6aa96c64c
commit 90f08c58cd

View File

@@ -12,7 +12,7 @@ const gemsPromo = {
export const REPEATING_EVENTS = { export const REPEATING_EVENTS = {
nye: { nye: {
start: new Date('1970-12-28T04:00-05:00'), start: new Date('1970-12-28T04:00-05:00'),
end: new Date('1971-01-04T03:59-05:00'), end: new Date('1970-01-04T03:59-05:00'),
season: 'nye', season: 'nye',
npcImageSuffix: '_nye', npcImageSuffix: '_nye',
content: [ content: [
@@ -26,13 +26,13 @@ export const REPEATING_EVENTS = {
}, },
birthday: { birthday: {
start: new Date('1970-01-30T04:00-05:00'), start: new Date('1970-01-30T04:00-05:00'),
end: new Date('1970-02-08T03:59-05:00'), end: new Date('1970-02-01T03:59-05:00'),
season: 'birthday', season: 'birthday',
npcImageSuffix: '_birthday', npcImageSuffix: '_birthday',
foodSeason: 'Cake', foodSeason: 'Cake',
}, },
valentines: { valentines: {
start: new Date('1970-02-13T04:00-05:00'), start: new Date('1970-02-10T04:00-05:00'),
end: new Date('1970-02-17T03:59-05:00'), end: new Date('1970-02-17T03:59-05:00'),
season: 'valentines', season: 'valentines',
npcImageSuffix: '_valentines', npcImageSuffix: '_valentines',
@@ -46,13 +46,13 @@ export const REPEATING_EVENTS = {
], ],
}, },
piDay: { piDay: {
start: new Date('1970-03-13T04:00-05:00'), start: new Date('1970-03-13T04:00-04:00'),
end: new Date('1970-03-15T03:59-05:00'), end: new Date('1970-03-16T03:59-05:00'),
foodSeason: 'Pie', foodSeason: 'Pie',
}, },
aprilFoolsResale: { aprilFoolsResale: {
start: new Date('1970-04-07T04:00-05:00'), start: new Date('1970-04-07T04:00-04:00'),
end: new Date('1970-04-30T03:59-05:00'), end: new Date('1970-05-01T03:59-04:00'),
content: [ content: [
{ {
type: 'hatchingPotionQuests', type: 'hatchingPotionQuests',
@@ -72,23 +72,23 @@ export const REPEATING_EVENTS = {
], ],
}, },
namingDay: { namingDay: {
start: new Date('1970-07-30T04:00-05:00'), start: new Date('1970-07-31T04:00-04:00'),
end: new Date('1970-08-01T03:59-05:00'), end: new Date('1970-08-02T03:59-04:00'),
foodSeason: 'Cake', foodSeason: 'Cake',
}, },
fallGemFest: { fallGemFest: {
start: new Date('1970-09-23T04:00-04:00'), start: new Date('1970-09-23T04:00-04:00'),
end: new Date('1970-09-27T03:59-04:00'), end: new Date('1970-09-27T23:59-04:00'),
gemsPromo, gemsPromo,
}, },
spookyGemFest: { spookyGemFest: {
start: new Date('1970-10-28T04:00-04:00'), start: new Date('1970-10-28T04:00-04:00'),
end: new Date('1970-10-27T03:59-04:00'), end: new Date('1970-11-01T23:59-04:00'),
gemsPromo, gemsPromo,
}, },
habitoween: { habitoween: {
start: new Date('1970-10-30T04:00-05:00'), start: new Date('1970-10-30T04:00-04:00'),
end: new Date('1970-11-01T23:059-05:00'), end: new Date('1970-11-01T23:59-04:00'),
foodSeason: 'Candy', foodSeason: 'Candy',
season: 'habitoween', season: 'habitoween',
npcImageSuffix: '_halloween', npcImageSuffix: '_halloween',
@@ -106,15 +106,15 @@ export const REPEATING_EVENTS = {
gemsPromo, gemsPromo,
}, },
harvestFeast: { harvestFeast: {
start: new Date('1970-11-22T04:00-05:00'), start: new Date('1970-11-20T04:00-05:00'),
end: new Date('1970-11-27T03:59-05:00'), end: new Date('1970-12-01T03:59-05:00'),
season: 'thanksgiving', season: 'thanksgiving',
npcImageSuffix: '_thanksgiving', npcImageSuffix: '_thanksgiving',
foodSeason: 'Pie', foodSeason: 'Pie',
}, },
giveOneGetOne: { giftOneGetOne: {
start: new Date('1970-12-19T04:00-05:00'), start: new Date('1970-12-19T04:00-05:00'),
end: new Date('1971-01-06T03:59-05:00'), end: new Date('1970-01-06T23:59-05:00'),
promo: 'g1g1', promo: 'g1g1',
}, },
}; };