habitica-self-host/website/common/script/content/mystery-sets.js

158 lines
2.5 KiB
JavaScript
Raw Normal View History

2015-11-15 16:08:40 +00:00
import { each } from 'lodash';
2016-03-03 03:36:27 +00:00
import t from './translation';
2015-09-17 01:28:46 +00:00
2015-09-17 13:03:33 +00:00
let mysterySets = {
2015-09-17 01:28:46 +00:00
201402: {
start: '2014-02-22',
end: '2014-02-28',
},
201403: {
start: '2014-03-24',
end: '2014-04-02',
},
201404: {
start: '2014-04-24',
end: '2014-05-02',
},
201405: {
start: '2014-05-21',
end: '2014-06-02',
},
201406: {
start: '2014-06-23',
end: '2014-07-02',
},
201407: {
start: '2014-07-23',
end: '2014-08-02',
},
201408: {
start: '2014-08-23',
end: '2014-09-02',
},
201409: {
start: '2014-09-24',
end: '2014-10-02',
},
201410: {
start: '2014-10-24',
end: '2014-11-02',
},
201411: {
start: '2014-11-24',
end: '2014-12-02',
},
201412: {
start: '2014-12-25',
end: '2015-01-02',
},
201501: {
start: '2015-01-26',
end: '2015-02-02',
},
201502: {
start: '2015-02-24',
end: '2015-03-02',
},
201503: {
start: '2015-03-25',
end: '2015-04-02',
},
201504: {
start: '2015-04-24',
end: '2015-05-02',
},
201505: {
start: '2015-05-25',
end: '2015-06-02',
},
201506: {
start: '2015-06-25',
end: '2015-07-02',
},
201507: {
start: '2015-07-24',
end: '2015-08-02',
},
201508: {
start: '2015-08-23',
end: '2015-09-02',
},
201509: {
2015-11-15 16:08:40 +00:00
start: '2015-09-24',
end: '2015-10-02',
},
201510: {
2015-11-15 16:08:40 +00:00
start: '2015-10-26',
end: '2015-11-02',
},
2015-11-25 22:06:52 +00:00
201511: {
start: '2015-11-25',
end: '2015-12-02',
},
2015-12-24 01:33:45 +00:00
201512: {
start: '2015-12-23',
end: '2016-01-02',
},
201601: {
start: '2016-01-26',
end: '2016-02-02',
},
201602: {
start: '2016-02-24',
end: '2016-03-02',
},
2016-03-21 19:56:54 +00:00
201603: {
start: '2016-03-24',
end: '2016-04-02',
},
201604: {
start: '2016-04-25',
end: '2016-05-02',
},
201605: {
start: '2016-05-25',
end: '2016-06-02',
},
201606: {
start: '2016-06-23',
end: '2016-07-02',
},
201607: {
start: '2016-07-26',
end: '2016-08-02',
},
201608: {
start: '2016-08-23',
end: '2016-09-02',
},
201609: {
start: '2016-09-22',
end: '2016-10-02',
},
201610: {
start: '2016-10-25',
end: '2016-11-02',
},
2015-09-17 01:28:46 +00:00
301404: {
start: '3014-03-24',
end: '3014-04-02',
},
301405: {
start: '3014-04-24',
end: '3014-05-02',
},
// @TODO: Remove wondercon from mystery-sets
2015-11-15 16:08:40 +00:00
wondercon: {
2015-09-17 01:28:46 +00:00
start: '2014-03-24',
2015-11-15 16:08:40 +00:00
end: '2014-04-01',
},
2015-09-17 01:28:46 +00:00
};
2015-11-15 16:08:40 +00:00
each(mysterySets, (value, key) => {
2015-11-15 17:04:17 +00:00
value.key = key;
value.text = t(`mysterySet${key}`);
2015-09-17 01:28:46 +00:00
});
2016-03-03 03:36:27 +00:00
module.exports = mysterySets;