[NTG-context] Minor date formatting issue

Wolfgang Schuster schuster.wolfgang at gmail.com
Fri Aug 9 14:58:43 CEST 2013


Am 09.08.2013 um 05:43 schrieb Matt Gushee <matt at gushee.net>:

> Hello, all--
> 
> I am experimenting with the \currentdate command. I am finding that
> 
>  \currentdate [weekday,{,~},month,day+,{,~},year]
> 
> which should work according to the Wiki, produces:
> 
>  Thursday, Augustday+, 2013
> 
> This command:
> 
>  \currentdate [weekday,{,~},month,day,{,~},year]
> 
> works as expected. I also tried
> 
>  \date [][weekday,{,~},month,day+,{,~},year]
> 
> but that produced the same result as above.
> 
> I have a recent stable release of the standalone ConTeXt package from
> the Garden. Is there a new way to format a date with an ordinal
> indicator (-st, -nd, -rd, -th), or is that just not working at the
> moment? Please advise.


It’s recommended to use “day:ord” with \currentdate but you also use “day:+”.

\starttext
\currentdate[day,space,day:ord,space,day:+]
\stoptext

Wolfgang


More information about the ntg-context mailing list