Skip to content
Browse files

Updated unit test because date parsing routines have a rolling window…

… for how to interpret two digit years and the window changed now that it is 2013.
  • Loading branch information...
1 parent 296795e commit ad467fa09182e137f452b2447849a08d53990f33 rstam committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 MongoDB.BsonUnitTests/Jira/CSharp275Tests.cs
View
4 MongoDB.BsonUnitTests/Jira/CSharp275Tests.cs
@@ -69,8 +69,8 @@ public Test(string json, string iso)
new Test("Mon, 1 Jan 01 11:22:33 EST", "2001-01-01T11:22:33-5:00"),
new Test("Mon, 1 Jan 29 11:22:33 EST", "2029-01-01T11:22:33-5:00"),
new Test("Tue, 1 Jan 30 11:22:33 EST", "2030-01-01T11:22:33-5:00"),
- new Test("Thu, 1 Jan 31 11:22:33 EST", "1931-01-01T11:22:33-5:00"), // starting in 2013 year 31 will become 2031 instead of 1931
- new Test("Fri, 1 Jan 32 11:22:33 EST", "1932-01-01T11:22:33-5:00"),
+ new Test("Wed, 1 Jan 31 11:22:33 EST", "2031-01-01T11:22:33-5:00"),
+ new Test("Fri, 1 Jan 32 11:22:33 EST", "1932-01-01T11:22:33-5:00"), // starting in 2014 year 32 will become 2032 instead of 1932
new Test("Sun, 1 Jan 33 11:22:33 EST", "1933-01-01T11:22:33-5:00"),
new Test("Fri, 1 Jan 99 11:22:33 EST", "1999-01-01T11:22:33-5:00"),
// test time zones

0 comments on commit ad467fa

Please sign in to comment.
Something went wrong with that request. Please try again.