Fixed: Use date string that is not as old as the previous one.

JavaScript now handles time a lot better. Times from before around 1900 is different in different
parts of the world so we just changed this test case to be a bit more modern.
This commit is contained in:
Martin Carlberg committed 2021-09-21 10:55:16 +02:00
1 parent 68f0cf27df
commit 6c49116c68
1 file changed
+1 -1
+1 -1
View File
@@ -83,7 +83,7 @@
- (void)testInitWithString
{
var tests = [
["1800-01-01 00:00:00 +0000", -5364662400],
["1900-01-01 00:00:00 +0000", -2208988800],
["1970-01-01 00:00:00 +0000", 0],
["1970-01-01 00:01:00 +0000", 60],
["1970-01-01 01:00:00 +0000", 60 * 60],