From 864300b92785b07a589548c303c9331528978e79 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Wed, 11 Nov 2015 15:58:13 -0600 Subject: [PATCH] Render `DataSyncChange.obtained` as humanized timestamp within UI. --- tailbone/views/datasync.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tailbone/views/datasync.py b/tailbone/views/datasync.py index 71eb5a87..4f793572 100644 --- a/tailbone/views/datasync.py +++ b/tailbone/views/datasync.py @@ -28,6 +28,7 @@ from __future__ import unicode_literals from rattail.db import model +from tailbone import forms from tailbone.views import MasterView @@ -45,6 +46,7 @@ class DataSyncChangeView(MasterView): def configure_grid(self, g): g.default_sortkey = 'obtained' + g.obtained.set(renderer=forms.DateTimeFieldRenderer(self.rattail_config)) g.configure( include=[ g.source,