[ckan-changes] commit/ckan: kindly: [moderated edits] sort out local
Bitbucket
commits-noreply at bitbucket.org
Thu Jun 9 11:44:06 UTC 2011
1 new changeset in ckan:
http://bitbucket.org/okfn/ckan/changeset/3b513cef8dc0/
changeset: 3b513cef8dc0
branch: feature-1141-moderated-edits-ajax
user: kindly
date: 2011-06-09 13:43:55
summary: [moderated edits] sort out local
affected #: 1 file (2 bytes)
--- a/ckan/controllers/package.py Thu Jun 09 12:41:21 2011 +0100
+++ b/ckan/controllers/package.py Thu Jun 09 12:43:55 2011 +0100
@@ -390,7 +390,7 @@
data.append({'revision_id': revision.id,
'message': revision.message,
'timestamp': format_datetime(revision.timestamp,
- locale=get_lang()[0] or 'en'),
+ 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