Updated app.rb to make it compatiable with new date scheme.