Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Use the user's time zone if present

Oliver Günther0202487b254a
diff --git a/modules/meeting/app/components/meetings/sidebar/details_component.html.erb b/modules/meeting/app/components/meetings/sidebar/details_component.html.erb
index 873312348df..86da51680f2 100644
--- a/modules/meeting/app/components/meetings/sidebar/details_component.html.erb
+++ b/modules/meeting/app/components/meetings/sidebar/details_component.html.erb
@@ -42,7 +42,7 @@
time.with_column(ml: 2) do
render(Primer::Beta::Text.new(color: :subtle, font_size: :small)) do
- Time.zone.to_s[/\((.*?)\)/m, 1]
+ (User.current.time_zone || Time.zone).to_s[/\((.*?)\)/m, 1]
end
end
end