These are chat archives for edbirmingham/network

Mar 2017
Mar 17 2017 15:29
@anthonycrumley When I set the completed_at attribute (using a utc date time is created. I understand that all dates are saved to the db as utc but how should I ensure that the date is displayed correctly to the user in their personal timezone. Currently, the dates are displayed in UTC which wouldn't be helpful to the users.
Eliza Brock Marcum
Mar 17 2017 16:38
@saabdoli One option is something along the lines of completed_at.in_time_zone("Central Time (US & Canada)")
Mar 17 2017 16:46
@elizabrock Thanks, that's a good solution. I also read that the default time change can also be set app-wide in a config file.