diff --git a/app/models/ruling_weather_setting.rb b/app/models/ruling_weather_setting.rb index 27499c0..a545457 100644 --- a/app/models/ruling_weather_setting.rb +++ b/app/models/ruling_weather_setting.rb @@ -35,7 +35,7 @@ class RulingWeatherSetting res end def get_now_info(custom_location=nil,custom_dataid=nil,custom_observatory_name=nil) - time_now = DateTime.now.utc.new_offset(self.time_offset) + time_now = DateTime.now.new_offset(self.time_offset) today = time_now.strftime("%Y-%m-%d") host = "https://opendata.cwb.gov.tw" custom_dataid = custom_dataid || self.dataid