[corlib] Fix timezone dependent DateTimeOffset test
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Mon, 9 Mar 2015 14:21:49 +0000 (10:21 -0400)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Mon, 9 Mar 2015 14:21:49 +0000 (10:21 -0400)
commitbb3bc6ddc978da8c5ce1b428e72176d4688bff49
tree5a78f79a12240e9fa98e8f7a6cc30e318ec80b5e
parent98f62a74f81d5ef80562ca46cf83faab2ba52ebb
[corlib] Fix timezone dependent DateTimeOffset test

Instead of trying to recreate the date with the current timezone, we should make the date assume UTC and compare against that.
mcs/class/corlib/Test/System/DateTimeOffsetTest.cs