nanoc3 3.0.8 → 3.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/NEWS.rdoc +5 -0
- data/lib/nanoc3/helpers/blogging.rb +2 -2
- data/lib/nanoc3.rb +1 -1
- metadata +1 -1
data/NEWS.rdoc
CHANGED
@@ -168,7 +168,7 @@ module Nanoc3::Helpers
|
|
168
168
|
|
169
169
|
# Add date
|
170
170
|
time = last_article[:created_at]
|
171
|
-
xml.updated
|
171
|
+
xml.updated((time.is_a?(String) ? Time.parse(time) : time).to_iso8601_time)
|
172
172
|
|
173
173
|
# Add links
|
174
174
|
xml.link(:rel => 'alternate', :href => root_url)
|
@@ -193,7 +193,7 @@ module Nanoc3::Helpers
|
|
193
193
|
|
194
194
|
# Add dates
|
195
195
|
time = a[:created_at]
|
196
|
-
xml.published
|
196
|
+
xml.published((time.is_a?(String) ? Time.parse(time) : time).to_iso8601_time)
|
197
197
|
xml.updated a.mtime.to_iso8601_time
|
198
198
|
|
199
199
|
# Add link
|
data/lib/nanoc3.rb
CHANGED