diff options
author | Alex Legler <alex@a3li.li> | 2014-01-14 17:32:07 +0100 |
---|---|---|
committer | Alex Legler <alex@a3li.li> | 2014-01-14 17:32:07 +0100 |
commit | ef5de35fb5e5b9ccb9119d311dccbe5e926864d4 (patch) | |
tree | f4074e9682536432ec3ab6de1cf5a91152b4e6db /infra-status.rb | |
parent | Rescue JSON parse failures (diff) | |
download | infra-status-ef5de35fb5e5b9ccb9119d311dccbe5e926864d4.tar.gz infra-status-ef5de35fb5e5b9ccb9119d311dccbe5e926864d4.tar.bz2 infra-status-ef5de35fb5e5b9ccb9119d311dccbe5e926864d4.zip |
Use proper update times
Read the notice's mtime. Just used for the Atom feed right now.
Diffstat (limited to 'infra-status.rb')
-rw-r--r-- | infra-status.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/infra-status.rb b/infra-status.rb index b3bec91..0029579 100644 --- a/infra-status.rb +++ b/infra-status.rb @@ -50,7 +50,7 @@ get '/feed.atom' do maker.items.new_item do |item| item.link = MY_URL + 'notice/' + notice['id'] item.title = notice['title'] - item.updated = notice['created_at'].to_s + item.updated = notice['updated_at'].to_s item.description = markdown(notice.get_content) end end |