mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-14 10:43:50 +00:00
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:
1 parent
68f0cf27df
commit
6c49116c68
1 file changed
+1
-1
@@ -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],
|
||||
|
||||
Reference in new issue
Block a user