示例#1
0
 def __str__(self):
     strftime = settings.SHORT_DATETIME_FORMAT
     return '%s every %s since %s' % (self.event.title, timedelta_nice_repr(self.interval), date(self.dt_start.strftime, strftime))
示例#2
0
 def __str__(self):
     strftime = settings.SHORT_DATETIME_FORMAT
     return '%s every %s since %s' % (
         self.event.title, timedelta_nice_repr(
             self.interval), date(self.dt_start.strftime, strftime))