Thanks, Wolfgang!

BTW why doesn't the following work?  it gives the 'missing number' error.

% \mainlanguage[en]
\romannumerals{\currentdate[day]}

On Thu, Jul 7, 2016 at 10:02 AM, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:
7. Juli 2016 um 10:53
Wolfgang & Hans,

In customizing the date, is there a way to use a number converter on day and year?  In particular, I'd like to apply persiandecimals conversion on them.
You can only change the numbers for the day (see below, I used greek to demonstrate it) but it could be done better (e.g. \currentdate[persian->day,space,month,persian->month] with "->" as separator for the conversion and keyword).

%% begin example
\installlanguage[fa][state=start]

\defineconversion[fa][day][α,β,γ,δ,ε,ζ,η,θ,ι,κ,λ,μ]

\setupbodyfont[pagella]

\starttext

\currentdate[day]

\language[fa]

\currentdate[day]

\stoptext
%% end example
(I have a similar question regarding \currentime.)
Not possible at the moment.

Wolfgang

___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________