Follow-up from "Resolve "Back 'Vulnerabilities over time' report with Standalone Vulnerability data on Instance & Group Security Dashboard""
The following discussion from !32301 (merged) should be addressed:
-
@ekigbo started a discussion: Perhaps these could be moved to datetime utils?
🤔 https://gitlab.com/gitlab-org/gitlab/blob/master/app/assets/javascripts/lib/utils/datetime_utility.js🤔 Something like
offsetDateInMS = (msOffset, currDate = Date.now())
. I'm sure there's probably a better name😆 , but date maths using milliseconds sounds like something that could be useful.