I have a model english_grade
which has a column grade_datetime
which is a datetime selected by the user in a form.
<div class="field">
<%= f.label :grade_datetime %>
<%= f.datetime_select :grade_datetime %>
</div>
When I display the value on a view. Locally they appear as datetime (e.g. which is 2016-09-13 23:25:00 +0100), whereas in Heroku they appear as date (e.g. 2016-09-14). I'm not sure what would be the most useful information to include but I have tried to set my timezone to London (my location).
I'm not sure from a high level perspective where I should be looking to solve this problem and can't find anything on Google. Will edit question appropriately based on what additional information anyone thinks would be relevant.
Any ideas of what could be causing the issue or requests for extra info would be appreciated! Thanks a lot!!!!