Skip to content

Commit

Permalink
🚑 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ilmir-k committed Jan 23, 2024
1 parent 017de3c commit 86ea8b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions itpp_calendar_meeting_url/models/calendar.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ class Calendar(models.Model):
@api.depends("start")
def _compute_meeting_url(self):
for rec in self:
rec.date_combination = rec.start.astimezone(
date_combination = rec.start.astimezone(
tz=pytz.timezone("Asia/Yekaterinburg")
).strftime(
"%Y%m%d"
) # timezone(self.env.user.tz or 'Asia/Yekaterinburg').
# list of timezones:
# https://gist.github.com/heyalexej/8bf688fd67d7199be4a1682b3eec7568
rec.videocall_location = (
"https://meet.jit.si/discussion_%s" % rec.date_combination
"https://meet.jit.si/discussion_%s" % date_combination
)

0 comments on commit 86ea8b8

Please sign in to comment.