Skip to content

Commit

Permalink
BUmp.
Browse files Browse the repository at this point in the history
  • Loading branch information
Corniel committed Mar 19, 2024
1 parent 9fc7956 commit ef68dee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions specs/Qowaiv.Specs/Date_time_offset_specs.cs
Expand Up @@ -25,8 +25,8 @@ public class With_local
[Test]
public void represents_a_local_date_time()
{
11.June(2017).At(06, 15).WithOffset(TimeSpan.FromHours(+2)).ToLocal()
.Should().Be(new LocalDateTime(2017, 06, 11, 06, 15));
var date = new DateTimeOffset(year: 2017, month: 06, day: 11, hour: 06, minute: 15, second: 00, TimeSpan.FromHours(+2));
date.ToLocal().Should().Be(new LocalDateTime(2017, 06, 11, 06, 15));
}
}

Expand Down

0 comments on commit ef68dee

Please sign in to comment.