15 Oct
2010
15 Oct
'10
3:14 p.m.
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/