[questions][ui] set fixed sample date

pull/346/head
wlren 3 years ago
parent 9a6682d3c1
commit 3ba0b1a1d3

@ -87,7 +87,7 @@ export const SAMPLE_ANSWER = {
authorName: 'Jeff Sieu', authorName: 'Jeff Sieu',
commentCount: 10, commentCount: 10,
content: 'This is a sample answer', content: 'This is a sample answer',
createdAt: new Date(), createdAt: new Date(2014, 8, 1, 11, 30, 40),
upvoteCount: 10, upvoteCount: 10,
}; };
@ -95,7 +95,7 @@ export const SAMPLE_QUESTION_COMMENT = {
authorImageUrl: 'https://avatars.githubusercontent.com/u/66356390?v=4', authorImageUrl: 'https://avatars.githubusercontent.com/u/66356390?v=4',
authorName: 'Jeff Sieu', authorName: 'Jeff Sieu',
content: 'This is a sample question comment', content: 'This is a sample question comment',
createdAt: new Date(), createdAt: new Date(2014, 8, 1, 11, 30, 40),
upvoteCount: 10, upvoteCount: 10,
}; };
@ -103,6 +103,6 @@ export const SAMPLE_ANSWER_COMMENT = {
authorImageUrl: 'https://avatars.githubusercontent.com/u/66356390?v=4', authorImageUrl: 'https://avatars.githubusercontent.com/u/66356390?v=4',
authorName: 'Jeff Sieu', authorName: 'Jeff Sieu',
content: 'This is an sample answer comment', content: 'This is an sample answer comment',
createdAt: new Date(), createdAt: new Date(2014, 8, 1, 11, 30, 40),
upvoteCount: 10, upvoteCount: 10,
}; };

Loading…
Cancel
Save