FIX: RSS Language should use a dash/hypen instead of underscore

This commit is contained in:
cpradio
2017-01-14 14:04:17 -05:00
parent 5f08630c27
commit d0a3dc10d8
2 changed files with 2 additions and 2 deletions

View File

@@ -6,7 +6,7 @@
<title><%= @title %></title>
<link><%= @link %></link>
<description><%= @description %></description>
<% if lang %><language><%= lang%></language><% end %>
<% if lang %><language><%= lang.sub('_', '-')%></language><% end %>
<% if @topic_list.topics && @topic_list.topics.length > 0 %>
<lastBuildDate><%= @topic_list.topics.first.created_at.rfc2822 %></lastBuildDate>
<atom:link href="<%= @atom_link %>" rel="self" type="application/rss+xml" />