From: Ant Zucaro Date: Sat, 8 Jul 2017 13:18:51 +0000 (-0400) Subject: Add the fuzzy and epoch dates to the maps JSON response. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e8fb01fa22769f5888b7ccac5588295fad3b40a0;p=xonotic%2Fxonstat.git Add the fuzzy and epoch dates to the maps JSON response. --- diff --git a/xonstat/models/map.py b/xonstat/models/map.py index 5549559..6da00eb 100644 --- a/xonstat/models/map.py +++ b/xonstat/models/map.py @@ -24,6 +24,8 @@ class Map(FuzzyDateMixin, EpochMixin): 'map_id': self.map_id, 'name': self.name, 'version': self.version, + 'create_dt_fuzzy': self.fuzzy_date(), + 'create_dt_epoch': self.epoch(), }