|
|
|
@ -40,6 +40,9 @@ export const defaultTimeOfDay: TimeSlices[] = (() => {
|
|
|
|
|
export const otherTimeOfDay: TimeSlices[] = (() => {
|
|
|
|
|
return [...otherSlicesOfDay]
|
|
|
|
|
})();
|
|
|
|
|
export const moreTimeOfDay: TimeSlices[] = (() => {
|
|
|
|
|
return [...otherSlicesOfDay]
|
|
|
|
|
})();
|
|
|
|
|
export const defaultDates: DateChoice[] = [
|
|
|
|
|
{
|
|
|
|
|
literal: `${currentYear}-${currentMonth}-${currentDay}`,
|
|
|
|
@ -62,17 +65,17 @@ export const otherDefaultDates: DateChoice[] = [
|
|
|
|
|
{
|
|
|
|
|
literal: `${currentYear}-${currentMonth}-${currentDay}`,
|
|
|
|
|
date_object: new Date(),
|
|
|
|
|
timeList: otherTimeOfDay
|
|
|
|
|
timeList: defaultTimeOfDay
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
literal: `${currentYear}-${currentMonth}-${currentDay + 1}`,
|
|
|
|
|
date_object: new Date(currentYear, currentMonth, currentDay + 1),
|
|
|
|
|
timeList: defaultTimeOfDay
|
|
|
|
|
timeList: otherTimeOfDay
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
literal: `${currentYear}-${currentMonth}-${currentDay + 2}`,
|
|
|
|
|
date_object: new Date(),
|
|
|
|
|
timeList: otherTimeOfDay
|
|
|
|
|
timeList: moreTimeOfDay
|
|
|
|
|
}
|
|
|
|
|
];
|
|
|
|
|
export const defaultAnswers: PollAnswer[] = [{
|
|
|
|
|