lib/onebox/engine/stack_exchange_onebox.rb in onebox-1.8.63 vs lib/onebox/engine/stack_exchange_onebox.rb in onebox-1.8.64
- old
+ new
@@ -38,10 +38,10 @@
return @data if @data
result = raw['items'][0]
if result
result['creation_date'] =
- Time.at(result['creation_date'].to_i).strftime("%I:%M%p - %d %b %y")
+ Time.at(result['creation_date'].to_i).strftime("%I:%M%p - %d %b %y %Z")
result['tags'] = result['tags'].take(4).join(', ')
result['is_answer'] = result.key?('answer_id')
result['is_question'] = result.key?('question_id')
end