lib/ragoon/services/schedule.rb in ragoon-0.5.0 vs lib/ragoon/services/schedule.rb in ragoon-0.5.1

- old
+ new

@@ -7,11 +7,11 @@ body_node = Ragoon::XML.create_node(action_name) parameter_node = Ragoon::XML.create_node( 'parameters', start: options[:start].strftime('%FT%T'), end: options[:end].strftime('%FT%T'), - start_for_daily: options[:start].strftime('%F'), - end_for_daily: options[:end].strftime('%F'), + start_for_daily: options[:start].localtime.strftime('%F'), + end_for_daily: options[:end].localtime.strftime('%F'), ) body_node.add_child(parameter_node) client.request(action_name, body_node)