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
Use Time.zone.now in utc, as updated_at is stored without TZ
Oliver Günther010d8040b877
diff --git a/app/services/journals/create_service.rb b/app/services/journals/create_service.rbindex 78053132aaf..a939be75fda 100644--- a/app/services/journals/create_service.rb+++ b/app/services/journals/create_service.rb@@ -575,7 +575,7 @@ module Journals# Use the ruby time instead of the DB's. If those are out of sync,# a journal might otherwise end up having an updated_at before created_at which# will also reflect back to the journaled object.- "'#{Time.zone.now}'"+ "'#{Time.zone.now.utc.iso8601}'"end# Because we added the journal via bare metal sql, rails does not yet