Skip to content

Commit

Permalink
fixing Bousai's utc offset
Browse files Browse the repository at this point in the history
  • Loading branch information
tsujigiri committed May 20, 2011
1 parent bb1bc4e commit 59a8501
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/scraper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def initialize(url)
@precipitation_unit = "mm"
@rows_xpath = '//tr[@bgcolor=#DAEDE9]'
@column_xpath = '/td'
@time = { :regexp => "(?<year>[0-9]{4})/(?<month>[0-9]{2})/(?<day>[0-9]{2}) (?<hour>[0-9]{2}):(?<minute>[0-9]{2})", :offset => '-06:00' }
@time = { :regexp => "(?<year>[0-9]{4})/(?<month>[0-9]{2})/(?<day>[0-9]{2}) (?<hour>[0-9]{2}):(?<minute>[0-9]{2})", :offset => '+09:00' }
end

def handle_undefined(value)
Expand Down

0 comments on commit 59a8501

Please sign in to comment.