diff --git a/hypha/apply/funds/models/reminders.py b/hypha/apply/funds/models/reminders.py index 14a86d21ce01702fde1579fe49c5016d572917d6..14ff327fe9bc7e5de52c1fcb0fb7e07a1e1a4496 100644 --- a/hypha/apply/funds/models/reminders.py +++ b/hypha/apply/funds/models/reminders.py @@ -35,7 +35,10 @@ class Reminder(models.Model): sent = models.BooleanField(default=False) def __str__(self): - return f'{self.ACTIONS[self.action]} at {self.time_with_format}' + return '{} at {}'.format( + self.ACTIONS[self.action], + self.time.strftime('%Y-%m-%d %I:%M %p') + ) class Meta: ordering = ['-time']