From a6db50210855930b176756979cd98ebe1855c30f Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Fri, 21 Oct 2016 13:58:36 +0000 Subject: [PATCH] Removed some dead code. - Legacy-Id: 12194 --- ietf/meeting/models.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/ietf/meeting/models.py b/ietf/meeting/models.py index df0300370..0552c4eff 100644 --- a/ietf/meeting/models.py +++ b/ietf/meeting/models.py @@ -100,14 +100,6 @@ class Meeting(models.Model): else: return self.number - def time_zone_offset(self): - # Look at the time of 8 o'clock sunday, rather than 0h sunday, to get - # the right time after a possible summer/winter time change. - if self.time_zone: - return pytz.timezone(self.time_zone).localize(datetime.datetime.combine(self.date, datetime.time(8, 0))).strftime("%z") - else: - return "" - def get_meeting_date (self,offset): return self.date + datetime.timedelta(days=offset)