|
|
|
@ -8,14 +8,17 @@ export const timeOfDay = [{
|
|
|
|
|
export const defaultDates = [
|
|
|
|
|
{
|
|
|
|
|
literal: `${new Date().getFullYear()}-${new Date().getMonth()}-${new Date().getDate()}`,
|
|
|
|
|
date_object: new Date(),
|
|
|
|
|
timeList: [{literal: 'matin'}, {literal: 'midi'}, {literal: 'soir'}]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
literal: `${new Date().getFullYear()}-${new Date().getMonth()}-${new Date().getDate() + 1}`,
|
|
|
|
|
date_object: new Date(),
|
|
|
|
|
timeList: [{literal: 'matin'}, {literal: 'midi'}, {literal: 'soir'}]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
literal: `${new Date().getFullYear()}-${new Date().getMonth()}-${new Date().getDate() + 2}`,
|
|
|
|
|
date_object: new Date(),
|
|
|
|
|
timeList: [{literal: 'matin'}, {literal: 'midi'}, {literal: 'soir'}]
|
|
|
|
|
}
|
|
|
|
|
];
|
|
|
|
@ -24,6 +27,7 @@ export const defaultAnswers = [{
|
|
|
|
|
text: 'réponse de démo 1',
|
|
|
|
|
url: 'https://mastodon.cipherbliss.com/system/media_attachments/files/001/439/118/original/6fcf149bd902841b.png?1579471574',
|
|
|
|
|
literal: `${new Date().getFullYear()}-${new Date().getMonth()}-${new Date().getDate()}`,
|
|
|
|
|
date_object: new Date(),
|
|
|
|
|
timeList: [{literal: 'matin'}, {literal: 'midi'}, {literal: 'soir'}]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -31,10 +35,12 @@ export const defaultAnswers = [{
|
|
|
|
|
text: 'réponse 2',
|
|
|
|
|
url: 'https://mastodon.cipherbliss.com/system/media_attachments/files/001/439/118/original/6fcf149bd902841b.png?1579471574',
|
|
|
|
|
literal: `${new Date().getFullYear()}-${new Date().getMonth()}-${new Date().getDate() + 1}`,
|
|
|
|
|
date_object: new Date(),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: 2,
|
|
|
|
|
text: 'la réponse D',
|
|
|
|
|
url: 'https://mastodon.cipherbliss.com/system/media_attachments/files/001/439/118/original/6fcf149bd902841b.png?1579471574',
|
|
|
|
|
literal: `${new Date().getFullYear()}-${new Date().getMonth()}-${new Date().getDate() + 2}`,
|
|
|
|
|
date_object: new Date(),
|
|
|
|
|
}];
|
|
|
|
|