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 localize together with %A to get localized weekday names

Klaus Zanderscb9a237961c9
diff --git a/modules/costs/app/components/my/time_tracking/list_component.rb b/modules/costs/app/components/my/time_tracking/list_component.rb
index 6062de42cc8..d1b24a1039f 100644
--- a/modules/costs/app/components/my/time_tracking/list_component.rb
+++ b/modules/costs/app/components/my/time_tracking/list_component.rb
@@ -69,7 +69,7 @@ module My
if mode == :month
I18n.t(:label_specific_week, week: date.strftime("%W"))
else
- date.strftime("%A %d")
+ I18n.l(date, format: "%A %d")
end
end