Skip to content

Commit

Permalink
fix: Set valid CFS time range (#5378)
Browse files Browse the repository at this point in the history
  • Loading branch information
maze-runnar authored Oct 25, 2020
1 parent 8e4b399 commit 794b77f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/speakers-call.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() }),

Expand Down

1 comment on commit 794b77f

@vercel
Copy link

@vercel vercel bot commented on 794b77f Oct 25, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.