sentry-ruby
sentry-ruby copied to clipboard
Read time_zone.name instead of time_zone
Description
Without adding time_zone.name, the returned value is considered invalid by tzdata.
Closes: #2249
Not that simple, will try a different fix.
This looks like a bug in gitlab now, as https://gitlab.com/gitlab-org/gitlab/-/blob/master/config/initializers/time_zone.rb?ref_type=heads sets
Rails.application.config.time_zone = Time.zone
puts Time.zone
(GMT+00:00) UTC
Which is not a valid identifier.
im closing this, please reopen if necessary