浏览代码

Update Date.hx

malublu 9 年之前
父节点
当前提交
3e5c08db4e
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 {
-		return fromTime(lua.Os.time());
+		return fromTime(lua.Os.time()*1000);
 	}
 
 	public static inline function fromTime( t : Float ) : Date {