\documentclass{article}
\directlua { tex.enableprimitives('',{'pagedir','bodydir','pardir','textdir','mathdir'}) }
\pagedir TRT\bodydir TRT\pardir TRT\textdir TRT % comment out this line to see the difference
\begin{document}
\bgroup\textdir TLT\number4\egroup\space%
Mordad\space\bgroup\textdir TLT\number1390\egroup%
\end{document}