mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-04-14 19:56:23 +00:00
fixing dates and offsets
This commit is contained in:
parent
f6aa96c64c
commit
90f08c58cd
1 changed files with 17 additions and 17 deletions
|
|
@ -12,7 +12,7 @@ const gemsPromo = {
|
|||
export const REPEATING_EVENTS = {
|
||||
nye: {
|
||||
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',
|
||||
npcImageSuffix: '_nye',
|
||||
content: [
|
||||
|
|
@ -26,13 +26,13 @@ export const REPEATING_EVENTS = {
|
|||
},
|
||||
birthday: {
|
||||
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',
|
||||
npcImageSuffix: '_birthday',
|
||||
foodSeason: 'Cake',
|
||||
},
|
||||
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'),
|
||||
season: 'valentines',
|
||||
npcImageSuffix: '_valentines',
|
||||
|
|
@ -46,13 +46,13 @@ export const REPEATING_EVENTS = {
|
|||
],
|
||||
},
|
||||
piDay: {
|
||||
start: new Date('1970-03-13T04:00-05:00'),
|
||||
end: new Date('1970-03-15T03:59-05:00'),
|
||||
start: new Date('1970-03-13T04:00-04:00'),
|
||||
end: new Date('1970-03-16T03:59-05:00'),
|
||||
foodSeason: 'Pie',
|
||||
},
|
||||
aprilFoolsResale: {
|
||||
start: new Date('1970-04-07T04:00-05:00'),
|
||||
end: new Date('1970-04-30T03:59-05:00'),
|
||||
start: new Date('1970-04-07T04:00-04:00'),
|
||||
end: new Date('1970-05-01T03:59-04:00'),
|
||||
content: [
|
||||
{
|
||||
type: 'hatchingPotionQuests',
|
||||
|
|
@ -72,23 +72,23 @@ export const REPEATING_EVENTS = {
|
|||
],
|
||||
},
|
||||
namingDay: {
|
||||
start: new Date('1970-07-30T04:00-05:00'),
|
||||
end: new Date('1970-08-01T03:59-05:00'),
|
||||
start: new Date('1970-07-31T04:00-04:00'),
|
||||
end: new Date('1970-08-02T03:59-04:00'),
|
||||
foodSeason: 'Cake',
|
||||
},
|
||||
fallGemFest: {
|
||||
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,
|
||||
},
|
||||
spookyGemFest: {
|
||||
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,
|
||||
},
|
||||
habitoween: {
|
||||
start: new Date('1970-10-30T04:00-05:00'),
|
||||
end: new Date('1970-11-01T23:059-05:00'),
|
||||
start: new Date('1970-10-30T04:00-04:00'),
|
||||
end: new Date('1970-11-01T23:59-04:00'),
|
||||
foodSeason: 'Candy',
|
||||
season: 'habitoween',
|
||||
npcImageSuffix: '_halloween',
|
||||
|
|
@ -106,15 +106,15 @@ export const REPEATING_EVENTS = {
|
|||
gemsPromo,
|
||||
},
|
||||
harvestFeast: {
|
||||
start: new Date('1970-11-22T04:00-05:00'),
|
||||
end: new Date('1970-11-27T03:59-05:00'),
|
||||
start: new Date('1970-11-20T04:00-05:00'),
|
||||
end: new Date('1970-12-01T03:59-05:00'),
|
||||
season: 'thanksgiving',
|
||||
npcImageSuffix: '_thanksgiving',
|
||||
foodSeason: 'Pie',
|
||||
},
|
||||
giveOneGetOne: {
|
||||
giftOneGetOne: {
|
||||
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',
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue