Skip to content

Commit

Permalink
Merge pull request #59 from withassociates/utc_calendar
Browse files Browse the repository at this point in the history
Specify UTC time in Calendar widget
  • Loading branch information
calumgunn committed Apr 2, 2015
2 parents 2602913 + 0b143d2 commit 1b42798
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/bookings_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ def form_for_booking(&block)
end

def calendar_event_time(time)
time.strftime("%d-%m-%Y %H:%M:%S")
time.utc.strftime("%d-%m-%Y %H:%M:%S")
end
end

0 comments on commit 1b42798

Please sign in to comment.