Fix unit test Commit_WithOverriddenTimestamp_CommitsWithThatTimestamp() to handle time zones.
The commit updates the timestamp variable to explicitly use DateTimeKind.Utc since UTC is what the resulting command line provides to Mercurial. It also converts the resulting log Timestamp to UTC to perform the comparison.
Fix unit test
Commit_WithOverriddenTimestamp_CommitsWithThatTimestamp()
to handle time zones.The commit updates the
timestamp
variable to explicitly useDateTimeKind.Utc
since UTC is what the resulting command line provides to Mercurial. It also converts the resulting logTimestamp
to UTC to perform the comparison.