From 224c5f2a037fed07916cf3d3c31db28fb80ac279 Mon Sep 17 00:00:00 2001 From: sundaram Date: Sun, 25 Oct 2020 22:29:55 +0530 Subject: [PATCH] cfs time issue fix --- app/models/speakers-call.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/speakers-call.js b/app/models/speakers-call.js index 0d9fd675f4f..bd25635a9b0 100644 --- a/app/models/speakers-call.js +++ b/app/models/speakers-call.js @@ -10,8 +10,8 @@ const detectedTimezone = moment.tz.guess(); export default ModelBase.extend({ announcement : attr('string'), - startsAt : attr('moment', { defaultValue: () => moment.tz(detectedTimezone).add(1, 'months').startOf('day') }), - endsAt : attr('moment', { defaultValue: () => moment.tz(detectedTimezone).add(1, 'months').hour(17).minute(0) }), + startsAt : attr('moment', { defaultValue: () => moment.tz(detectedTimezone).subtract(3, 'days').startOf('day') }), + endsAt : attr('moment', { defaultValue: () => moment.tz(detectedTimezone).subtract(2, 'days').startOf('day') }), privacy : attr('string', { defaultValue: 'public' }), hash : attr('string', { defaultValue: v4() }),