feat(content): NYE 2019-20 etc

This commit is contained in:
Sabe Jones
2019-12-30 15:05:45 -06:00
parent 169ae8e011
commit 2693d49870
21 changed files with 194 additions and 30 deletions

View File

@@ -1,5 +1,6 @@
import defaults from 'lodash/defaults';
import each from 'lodash/each';
import moment from 'moment';
import t from './translation';
import { tasksByCategory } from './tasks';
@@ -117,6 +118,7 @@ api.cardTypes = {
nye: {
key: 'nye',
messageOptions: 5,
yearRound: moment().isBefore('2020-01-02'),
},
thankyou: {
key: 'thankyou',