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

114 lines
1.8 KiB
JavaScript
Raw Normal View History

2015-11-15 16:08:40 +00:00
import { each } from 'lodash';
let t = require('./translation.js');
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-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
});
2015-09-20 00:29:15 +00:00
export default mysterySets;