[ckan-changes] commit/ckan: kindly: [moderated edits] sort out local

Bitbucket commits-noreply at bitbucket.org
Thu Jun 9 11:47:00 UTC 2011


1 new changeset in ckan:

http://bitbucket.org/okfn/ckan/changeset/4535d42ef030/
changeset:   4535d42ef030
branch:      feature-1141-moderated-edits-ajax
user:        kindly
date:        2011-06-09 13:46:29
summary:     [moderated edits] sort out local
affected #:  1 file (2 bytes)

--- a/ckan/controllers/package.py	Thu Jun 09 12:43:55 2011 +0100
+++ b/ckan/controllers/package.py	Thu Jun 09 12:46:29 2011 +0100
@@ -390,7 +390,7 @@
             data.append({'revision_id': revision.id,
                          'message': revision.message,
                          'timestamp': format_datetime(revision.timestamp, 
-                                                      locale=get_lang() or ['en'])[0],
+                                                      locale=(get_lang() or ['en'])[0]),
                          'approved': bool(revision.approved_timestamp),
                          'current_approved': current_approved})

Repository URL: https://bitbucket.org/okfn/ckan/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.




More information about the ckan-changes mailing list