[ckan-discuss] problem with timestamp in revision

Stefano Costa stefano.costa at okfn.org
Wed Dec 15 16:33:38 GMT 2010

Il giorno mer, 15/12/2010 alle 16.37 +0100, Stefano Costa ha scritto:
> Dear CKANers,
> Simone Basso and I noticed a problem with timestamps in the list of
> revisions of some CKAN installations ( http://www.ckan.net/revision or
> http://it.ckan.net/revision ). All revisions have their timestamp shown
> as hh:12 where hh is the hour and 12 the minutes.
> The detail of each revision is correct though:
> http://www.ckan.net/revision/read/07aa8110-8b31-4d13-8bfb-d40de021401e
> Purging the cache server-side and client-side doesn't help.


This is the changeset. The bug is trivial:

        return datetime_.strftime('%Y-%m-%d %H:%m')

should be

        return datetime_.strftime('%Y-%m-%d %H:%M')
i.e. minutes and not month.


Stefano Costa
Coordinator, Working Group on Open Data in Archaeology
The Open Knowledge Foundation
http://www.okfn.org · http://opendefinition.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.okfn.org/pipermail/ckan-discuss/attachments/20101215/7d2e7b56/attachment.pgp>

More information about the ckan-discuss mailing list