Skip to content

Commit

Permalink
RSS bug fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
aunindadf committed Mar 8, 2016
1 parent 7861b39 commit 193095d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devtracker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,7 @@
lastUpdatedDateTimeUtc = Time.strptime(project['last_updated_datetime'], '%Y-%m-%dT%H:%M:%S').utc
item.link = "http://devtracker.dfid.gov.uk/projects/" + project['iati_identifier'] + "/"
item.title = project['title']['narratives'][0]['text']
item.description = project['description'][0]['narratives'][0]['text'] + " [Last updated: " + lastUpdatedDateTimeUtc.strftime('%Y-%m-%d %H:%M:%S %Z') + "]"
item.description = project['descriptions'][0]['narratives'][0]['text'] + " [Last updated: " + lastUpdatedDateTimeUtc.strftime('%Y-%m-%d %H:%M:%S %Z') + "]"
item.updated = lastUpdatedDateTimeUtc
end
end
Expand Down

0 comments on commit 193095d

Please sign in to comment.