From e8fb01fa22769f5888b7ccac5588295fad3b40a0 Mon Sep 17 00:00:00 2001 From: Ant Zucaro Date: Sat, 8 Jul 2017 09:18:51 -0400 Subject: [PATCH] Add the fuzzy and epoch dates to the maps JSON response. --- xonstat/models/map.py | 2 ++ 1 file changed, 2 insertions(+) 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(), } -- 2.39.2