natenorberg / monstercheckout_rails

A rewrite of the MONSTER checkout app using Ruby on Rails
0 stars 1 forks source link

Wrong timecode on individual reservation view #1

Closed jcs224 closed 10 years ago

jcs224 commented 10 years ago

Looks like there are some timecode issues with displaying the reservation timeline, displaying UTC rather than our timezone. For example, I made this reservation at around 11 in the morning, but it says I made it at about 5pm:

screen shot 2014-09-16 at 11 16 43 am

natenorberg commented 10 years ago

Looks like I forgot to set the timezone in /config/application.rb The times the user entered in were correct, but when Time.now was called server-side, it was using UTC by default.

I have a fix ready. I'll check it in this evening

natenorberg commented 10 years ago

Fixed in develop by 7c9302066a9049cf99f8958a06e6069b1beab4f7