I have a User model, which allow user to provide their own time zone. User can choose their own time zone using the time_zone_select
. So we will store something like Pacific Time (US & Canada)
in database.
My Rails 3 application default setting is using Pacific Time (US & Canada)
. So all the time display is in this time zone.
May I change the time time display based on user time zone? For example, User A will see all the time displayed in his time zone Central Time (US & Canada)
, and User B will see all the time in London
.
Thanks all.