Browse Source

[cs] Sys.time() should be in seconds

Caue Waneck 12 years ago
parent
commit
3a9a116225
1 changed files with 2 additions and 2 deletions
  1. 2 2
      std/cs/_std/Sys.hx

+ 2 - 2
std/cs/_std/Sys.hx

@@ -202,7 +202,7 @@ class Sys {
 	**/
 	**/
 	public static function time() : Float
 	public static function time() : Float
 	{
 	{
-		return Date.now().getTime();
+		return Date.now().getTime() / 1000;
 	}
 	}
 
 
 	/**
 	/**
@@ -270,4 +270,4 @@ class Sys {
 #end
 #end
 	}
 	}
 
 
-}
+}