Skip to content

Commit

Permalink
fix date_and_time_field time_zone (#782)
Browse files Browse the repository at this point in the history
  • Loading branch information
pascallaliberte authored Feb 26, 2024
1 parent 119f606 commit 792208a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ options ||= {}
user_tz = ActiveSupport::TimeZone.find_tzinfo(current_user.time_zone).name

current_team_time_zone = if current_user&.respond_to?(:current_team)
current_team_time_zone
current_team.time_zone
else
"UTC"
end
Expand Down

0 comments on commit 792208a

Please sign in to comment.