Attempting to go the proper way to fix dates

Still need to fix the bug/issue in netzke where it renders without the
timezone
This commit is contained in:
Jason Denney
2014-05-04 13:52:11 -04:00
parent 785e096aea
commit 517950c42c
3 changed files with 21 additions and 3 deletions
@@ -0,0 +1,15 @@
class AddTimezonesToLogs < ActiveRecord::Migration
def up
change_table :logs do |t|
t.change :start_date, :timestamptz
t.change :end_date, :timestamptz
end
end
def down
change_table :logs do |t|
t.change :start_date, :timestamp
t.change :end_date, :timestamp
end
end
end