diff --git a/files/classes/votes.py b/files/classes/votes.py
index 407c9319bb..8664644521 100644
--- a/files/classes/votes.py
+++ b/files/classes/votes.py
@@ -45,6 +45,10 @@ class Vote(Base):
return data
+ @property
+ def created_datetime(self):
+ return str(time.strftime("%d/%B/%Y %H:%M:%S UTC", time.gmtime(self.created_utc)))
+
class CommentVote(Base):
@@ -84,4 +88,8 @@ class CommentVote(Base):
data["user"]=self.user.json_core
data["comment"]=self.comment.json_core
- return data
\ No newline at end of file
+ return data
+
+ @property
+ def created_datetime(self):
+ return str(time.strftime("%d/%B/%Y %H:%M:%S UTC", time.gmtime(self.created_utc)))
\ No newline at end of file
diff --git a/files/templates/votes.html b/files/templates/votes.html
index 2327adb0c3..18a6f81d2d 100644
--- a/files/templates/votes.html
+++ b/files/templates/votes.html
@@ -28,7 +28,8 @@
@@ -43,6 +44,7 @@
User
- User truescore
+ User Truescore
+ Vote Time