readdate.lua

changeset 3
487f8d7b81b7
parent 0
44416491923e
child 4
305e9dd7fc34
--- 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