summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Gesang <megas.kapaneus@gmail.com>2012-06-06 15:07:06 +0200
committerPhilipp Gesang <megas.kapaneus@gmail.com>2012-06-06 15:07:06 +0200
commitb590b2d16628d15d7580185a20531b442e1730a8 (patch)
treedf63f97c2b4f3afe2a3091406377aff173097c45
parent83cfbe1bcbd06a01c2e01ec46a07fea096244f7f (diff)
downloadluatexbase-b590b2d16628d15d7580185a20531b442e1730a8.tar.gz
fixed accidental global in modutils.lua
-rw-r--r--luatexbase-modutils.dtx2
1 files changed, 1 insertions, 1 deletions
diff --git a/luatexbase-modutils.dtx b/luatexbase-modutils.dtx
index ebb89bf..8fd87ca 100644
--- a/luatexbase-modutils.dtx
+++ b/luatexbase-modutils.dtx
@@ -474,7 +474,7 @@ local modules = modules or {}
%
% \begin{macrocode}
local function date_to_int(date)
- numbers = string.gsub(date, "(%d+)/(%d+)/(%d+)", "%1%2%3")
+ local numbers = string.gsub(date, "(%d+)/(%d+)/(%d+)", "%1%2%3")
return tonumber(numbers)
end
% \end{macrocode}