diff options
author | Hans Hagen <pragma@wxs.nl> | 2020-04-08 15:36:51 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2020-04-08 15:36:51 +0200 |
commit | 9a1b9756939e12e328dea3633d9fe3cbde8f154b (patch) | |
tree | 22407c5d909d99866cb0cca7053288bd3d38d52b /tex/context/base/mkiv/mlib-int.lua | |
parent | 8dcafbcc0fbdde27cf480584450516602daacd42 (diff) | |
download | context-9a1b9756939e12e328dea3633d9fe3cbde8f154b.tar.gz |
2020-04-08 14:37:00
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) |