[ckan-changes] [ckan/ckan] 4163f1: h.render_datetime renders datestamps now with seco...

GitHub noreply at github.com
Fri Dec 21 15:07:06 UTC 2018


  Branch: refs/heads/datestamps-shown-with-seconds
  Home:   https://github.com/ckan/ckan
  Commit: 4163f1743409d249cd9314dfc1cff7d1542aabce
      https://github.com/ckan/ckan/commit/4163f1743409d249cd9314dfc1cff7d1542aabce
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2018-12-21 (Fri, 21 Dec 2018)

  Changed paths:
    M ckan/lib/formatters.py
    M ckan/lib/helpers.py
    M ckan/tests/legacy/lib/test_helpers.py
    M ckan/tests/lib/test_helpers.py

  Log Message:
  -----------
  h.render_datetime renders datestamps now with seconds

This is extracted from https://github.com/ckan/ckan/pull/3972

When a user drills into activity stream, each version is known by its timestamp, and
on occasions that a user makes multiple changes in the same minute, showing the
hours:minutes:seconds is really useful.

The impending #3972 has a replacement bit of HTML which calls h.render_datetime with the new
'with_seconds' option yet.



      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the ckan-changes mailing list