Dear list, in the following document I can set the date as seen by LuaTeX so the date functions use a different date:
--- \starttext \ctxlua{tex.year=1980; tex.month=1; tex.day=15} % Taken from https://wiki.contextgarden.net/Command/date, % outputs 15 may 1980 \date[m=1][day,~,{\monthshort\normalmonth},~,year] % outputs January 15, 1980 \ctxlua{context.date{m=tex.month};} \stoptext --- This works for all parts of the date (even the weekday), except the month. I've looked through the core-con.lua and found nothing that would explain this (or what I'd need to change), as the tex.month is properly set. Best regards Tristan ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________