Add DateTimeFieldRenderer to show human-friendly timestamps.

This leverages the `humanize` package to do so.  Unfortunately that doesn't
seem to handle tz-aware times though, so we may need to revisit that at
some point...?
This commit is contained in:
Lance Edgar 2014-11-18 19:37:52 -06:00
parent 2326482bb6
commit 9806c7a0a2
3 changed files with 68 additions and 11 deletions

View file

@ -75,6 +75,7 @@ requires = [
# deprecated 'paster create' (and friends).
'pyramid>=1.3a1', # 1.3b2 1.4.5
'humanize', # 0.5.1
'Mako', # 0.6.2
'pyramid_beaker>=0.6', # 0.6.1
'pyramid_debugtoolbar', # 1.0