Skip to content

Commit

Permalink
Fix QTLS date handling for BST (#1705)
Browse files Browse the repository at this point in the history
  • Loading branch information
gunndabad authored Nov 22, 2024
1 parent 950c48a commit 5ef67ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class GetQtlsHandler(ICrmQueryDispatcher crmQueryDispatcher)
return new QtlsResult()
{
Trn = command.Trn,
QtsDate = contact.dfeta_qtlsdate.ToDateOnlyWithDqtBstFix(isLocalTime: false),
QtsDate = contact.dfeta_qtlsdate.ToDateOnlyWithDqtBstFix(isLocalTime: true),
};
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public async Task<bool> ExecuteAsync(SetQtlsDateQuery query, IOrganizationServic
Target = new Contact()
{
Id = query.ContactId,
dfeta_qtlsdate = query.QtlsDate.ToDateTimeWithDqtBstFix(isLocalTime: false)
dfeta_qtlsdate = query.QtlsDate.ToDateTimeWithDqtBstFix(isLocalTime: true)
}
});
await requestBuilder.ExecuteAsync();
Expand Down

0 comments on commit 5ef67ff

Please sign in to comment.