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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Also show time of updated on
Oliver Günthercdd6791068bc
diff --git a/app/views/admin/info.html.erb b/app/views/admin/info.html.erbindex 3e2885cc555..ab7383ea0d3 100644--- a/app/views/admin/info.html.erb+++ b/app/views/admin/info.html.erb@@ -69,7 +69,7 @@ See COPYRIGHT and LICENSE files for more details.if (updated_on = OpenProject::VERSION.updated_on).present?- component.with_attribute(key: t(:label_last_change_on), value: format_date(updated_on))+ component.with_attribute(key: t(:label_last_change_on), value: format_time(updated_on))endend %>diff --git a/lib/open_project/version.rb b/lib/open_project/version.rbindex d5c7eebaaa3..b291b34082a 100644--- a/lib/open_project/version.rb+++ b/lib/open_project/version.rb@@ -108,15 +108,15 @@ module OpenProjectpath = Rails.root.join("RELEASE_DATE")if File.exist? paths = File.read(path)- Date.parse(s)+ Time.zone.parse(s)endendenddef release_date_from_gitcached_or_block(:@release_date_from_git) do- date, = Open3.capture3("git", "log", "-1", "--format=%cd", "--date=short")- Date.parse(date) if date+ date, = Open3.capture3("git", "log", "-1", "--format=%cd", "--date=iso8601")+ Time.zone.parse(date) if dateendend