diff options
Diffstat (limited to 'tex/context/base/mkiv/mlib-int.lua')
-rw-r--r-- | tex/context/base/mkiv/mlib-int.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tex/context/base/mkiv/mlib-int.lua b/tex/context/base/mkiv/mlib-int.lua index 6fca95302..b8d74d5b5 100644 --- a/tex/context/base/mkiv/mlib-int.lua +++ b/tex/context/base/mkiv/mlib-int.lua @@ -38,6 +38,8 @@ if CONTEXTLMTXMODE > 0 then local t = os.date("*t") -- maybe this should be a very early on global + local mpnumeric = mp.inject.numeric + registerscript("year", function() return t.year end) registerscript("month", function() return t.month end) registerscript("day", function() return t.day end) |