lib/ragoon/services.rb in ragoon-0.5.0 vs lib/ragoon/services.rb in ragoon-0.5.1
- old
+ new
@@ -17,9 +17,9 @@
end
def self.start_and_end(date = Date.today)
{
start: date.to_time.utc,
- end: (date + 1).to_time.utc,
+ end: ((date + 1).to_time - 1).utc,
}
end
end