Fix for readdate tool

Sun, 21 Jun 2009 18:00:22 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Sun, 21 Jun 2009 18:00:22 +0100
changeset 3
487f8d7b81b7
parent 2
bb0892bc9687
child 4
305e9dd7fc34

Fix for readdate tool

readdate.lua file | annotate | diff | comparison | revisions
--- a/readdate.lua	Sun Jun 21 18:00:07 2009 +0100
+++ b/readdate.lua	Sun Jun 21 18:00:22 2009 +0100
@@ -5,7 +5,7 @@
 	if line:match("^base:%d+$") then
 		base = tonumber(line:match("^base:(%d+)$"));
 	else
-		local ret = ndp.when(line, 0, base);
+		local ret = ndp.when(line, base);
 		print(os.date("%c", ret).." ("..ret..")");
 	end
 end

mercurial