Quantcast
Channel: SCSM PowerShell Cmdlets
Viewing all articles
Browse latest Browse all 306

Closed Issue: Time problem in 66766 (add comment or attach file) [8614]

$
0
0
When I add UserComment or Attach file to incident - in incident form journal add entry with CurrentTime + 3 Hours
This problem only available on first tab in incident form, in Jornal tab everything ok - and time correct

I use quick patch: add to Helpers.cs

//If comment supplied, update the current value
if (userComment != null)
{
.....
var minusThreeHours = new TimeSpan(0, 3, 0, 0);
userCommentObject[null, "EnteredDate"].Value = DateTime.Now.Subtract(minusThreeHours);
.....
Comments:

This is working appropriately, please
be sure to submit the time in UTC


Viewing all articles
Browse latest Browse all 306

Trending Articles