summaryrefslogtreecommitdiff
path: root/src/meetingtools/apps
diff options
context:
space:
mode:
Diffstat (limited to 'src/meetingtools/apps')
-rw-r--r--src/meetingtools/apps/room/models.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/meetingtools/apps/room/models.py b/src/meetingtools/apps/room/models.py
index 9c2c489..7ef9007 100644
--- a/src/meetingtools/apps/room/models.py
+++ b/src/meetingtools/apps/room/models.py
@@ -9,6 +9,7 @@ from django.db.models.fields import CharField, BooleanField, IntegerField, Small
from django.db.models.fields.related import ForeignKey
from django.contrib.auth.models import User
from meetingtools.apps.cluster.models import ACCluster
+import time
class Room(models.Model):
creator = ForeignKey(User,editable=False)
@@ -33,4 +34,4 @@ class Room(models.Model):
if not self.lastvisited:
return 0
else:
- return self.lastvisited \ No newline at end of file
+ return int(time.mktime(self.lastvisited.timetuple())*1000) \ No newline at end of file