I am trying to convert UTC time to user local time. For local time zone if have values like:
user_id time_zone
23 +05:30
25 +10:00
is this sufficient info? How can i convert using this. In documentation all i could find is this method.
Time.now.in_time_zone('Eastern Time (US & Canada)')
but i dont have that. Or should I fetch this Eastern Time (US & Canada)
using +10:00
I am trying to trigger push notifications at 10 am of user's time.