[Campaign | LastexecutedOn] The time returned is not the same in the code

Affected version : _version TM 6.0.0.release, _7.0.0.it2

In the code, to return the time of a last execution from an execution lookup page or from the execution history, the method used is not the same, and you may end up with a time lag.

the same conversion method should be used in both cases: convertLocalDateTimeIntoDate

Steps to reproduce

  • Have a test case run at least once
  • Go to the execution consultation page in the campaign area
  • View the network/response in the browser

Observed behaviour

2024-02-14_15h16_53.jpg

2024-02-14_15h19_32.jpg

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information