diff --git a/files/classes/clients.py b/files/classes/clients.py index ebb1d2670..d6147fc18 100644 --- a/files/classes/clients.py +++ b/files/classes/clients.py @@ -35,7 +35,7 @@ class OauthApp(Base): @property @lazy def created_datetime(self): - return str(time.strftime("%d/%B/%Y %H:%M:%S UTC", time.gmtime(self.created_utc))) + return time.strftime("%d/%B/%Y %H:%M:%S UTC", time.gmtime(self.created_utc)) @property @lazy @@ -87,4 +87,4 @@ class ClientAuth(Base): @property @lazy def created_datetime(self): - return str(time.strftime("%d/%B/%Y %H:%M:%S UTC", time.gmtime(self.created_utc))) + return time.strftime("%d/%B/%Y %H:%M:%S UTC", time.gmtime(self.created_utc)) diff --git a/files/classes/comment.py b/files/classes/comment.py index 65360f512..1aef19a69 100644 --- a/files/classes/comment.py +++ b/files/classes/comment.py @@ -109,7 +109,7 @@ class Comment(Base): @property @lazy def created_datetime(self): - return str(time.strftime("%d/%B/%Y %H:%M:%S UTC", time.gmtime(self.created_utc))) + return time.strftime("%d/%B/%Y %H:%M:%S UTC", time.gmtime(self.created_utc)) @property @lazy diff --git a/files/classes/flags.py b/files/classes/flags.py index add15325e..56030ff68 100644 --- a/files/classes/flags.py +++ b/files/classes/flags.py @@ -34,7 +34,7 @@ class Flag(Base): @property @lazy def created_datetime(self): - return str(time.strftime("%d/%B/%Y %H:%M:%S UTC", time.gmtime(self.created_utc))) + return time.strftime("%d/%B/%Y %H:%M:%S UTC", time.gmtime(self.created_utc)) @lazy def realreason(self, v): @@ -70,7 +70,7 @@ class CommentFlag(Base): @property @lazy def created_datetime(self): - return str(time.strftime("%d/%B/%Y %H:%M:%S UTC", time.gmtime(self.created_utc))) + return time.strftime("%d/%B/%Y %H:%M:%S UTC", time.gmtime(self.created_utc)) @lazy def realreason(self, v): diff --git a/files/classes/mod.py b/files/classes/mod.py index 0877cda2f..eadff10df 100644 --- a/files/classes/mod.py +++ b/files/classes/mod.py @@ -23,4 +23,4 @@ class Mod(Base): @property @lazy def created_datetime(self): - return str(time.strftime("%d/%B/%Y %H:%M:%S UTC", time.gmtime(self.created_utc))) + return time.strftime("%d/%B/%Y %H:%M:%S UTC", time.gmtime(self.created_utc)) diff --git a/files/classes/submission.py b/files/classes/submission.py index 2733d6ff7..ffb4513bf 100644 --- a/files/classes/submission.py +++ b/files/classes/submission.py @@ -109,12 +109,12 @@ class Submission(Base): @property @lazy def created_datetime(self): - return str(time.strftime("%d/%B/%Y %H:%M:%S UTC", time.gmtime(self.created_utc))) + return time.strftime("%d/%B/%Y %H:%M:%S UTC", time.gmtime(self.created_utc)) @property @lazy def created_datetime(self): - return str(time.strftime("%d/%B/%Y %H:%M:%S UTC", time.gmtime(self.created_utc))) + return time.strftime("%d/%B/%Y %H:%M:%S UTC", time.gmtime(self.created_utc)) @property @lazy @@ -181,7 +181,7 @@ class Submission(Base): @property @lazy def edited_datetime(self): - return str(time.strftime("%d/%B/%Y %H:%M:%S UTC", time.gmtime(self.edited_utc))) + return time.strftime("%d/%B/%Y %H:%M:%S UTC", time.gmtime(self.edited_utc)) @property diff --git a/files/classes/user.py b/files/classes/user.py index 7b69f8e4e..5301ae02a 100644 --- a/files/classes/user.py +++ b/files/classes/user.py @@ -597,7 +597,7 @@ class User(Base): @property @lazy def created_datetime(self): - return str(time.strftime("%d/%B/%Y %H:%M:%S UTC", time.gmtime(self.created_utc))) + return time.strftime("%d/%B/%Y %H:%M:%S UTC", time.gmtime(self.created_utc)) @lazy def subscribed_idlist(self, page=1):