Browse Source

Update Date.hx

malublu 9 years ago
parent
commit
3e5c08db4e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/lua/_std/Date.hx

+ 1 - 1
std/lua/_std/Date.hx

@@ -48,7 +48,7 @@
 	}
 	}
 
 
 	public static inline function now() : Date {
 	public static inline function now() : Date {
-		return fromTime(lua.Os.time());
+		return fromTime(lua.Os.time()*1000);
 	}
 	}
 
 
 	public static inline function fromTime( t : Float ) : Date {
 	public static inline function fromTime( t : Float ) : Date {