On Fri, Oct 15 2010, Cedric Mauclair wrote:
> 
> Today I wanted to use the command "\date[d=15,m=10,y=2010][weekday]".
> It gives "Friday" as it should. However
> "\date[d=2,m=1,y=2011][weekday]" gives the same result which is wrong
> (it's a Sunday). In fact, whatever the supplied date, it gives
> "Friday". I guess the parameter isn't taken into account here.

No problem here:
\starttext
\doifmodeelse{mkiv}{MKIV}{MKII}:
Sunday = \date[d=2,m=1,y=2011][weekday] ?
\stoptext

Perhaps you use a very old version?
There was a bug more than 2 years ago:
http://archive.contextgarden.net/message/20080331.082509.7fc304a9.en.html

Peter

-- 
Contact information: http://pmrb.free.fr/contact/
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to