예제 #1
0
파일: models.py 프로젝트: gimler/techism2
 def set_date_time_end_cet(self, date_time_end_cet):
     "Sets the 'End' date/time, expecting CET/CEST timezone. Internally the date/time is saved in UTC timezone"
     self.date_time_end = utils.cet_to_utc(date_time_end_cet)
예제 #2
0
파일: models.py 프로젝트: gimler/techism2
 def set_date_time_begin_cet(self, date_time_begin_cet):
     "Sets the 'Begin' date/time in CET/CEST timezone. Internally the date/time is saved in UTC timezone."
     self.date_time_begin = utils.cet_to_utc(date_time_begin_cet)