Skip to content

Commit

Permalink
scrubber.rb updates LAST_UPDATED.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
lukes committed Aug 28, 2015
1 parent e4aeab7 commit 5378284
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion LAST_UPDATED.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2015-08-28 21:13:25 +1200
2015-08-28 21:15:39 +1200
2 changes: 2 additions & 0 deletions scrubber.rb
Original file line number Diff line number Diff line change
Expand Up @@ -182,3 +182,5 @@ def json_to_xml(json)
puts "\nCouldn't find regional table data to save in all.csv, all.json and all.xml for the following countries (you may want to manually check #{un_page}) -- sorry!:\n\n"

codes.select{ |c| c["region-code"].nil? }.each {|c| puts c.inspect }

File.open("LAST_UPDATED.txt", "w:UTF-8") { |f| f.write(Time.now.to_s) }

0 comments on commit 5378284

Please sign in to comment.