mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-19 16:50:12 +01:00
Wow I broke the migration. Oops.
This commit is contained in:
parent
51b0a2bd9b
commit
b36ed96813
1 changed files with 1 additions and 0 deletions
|
|
@ -28,6 +28,7 @@ class ChangeDatesToDatetimes < ActiveRecord::Migration
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
def at_midnight(date)
|
def at_midnight(date)
|
||||||
return Time.zone.local(date.year, date.month, date.day, 0, 0, 0)
|
return Time.zone.local(date.year, date.month, date.day, 0, 0, 0)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue