On Jan 15, 2008 2:10 AM, Evgeny Egorochkin <[EMAIL PROTECTED]> wrote: > В сообщении от Tuesday 15 January 2008 06:51:33 Gabriel Burt написал(а): > > What do you think of an optional 'relative' attribute on the date > > value specifying the seconds to add to the date, and allowing 'now' as > > a valid date? > > > > <lessThan> > > <field name="lastplayed" /> > > <date relative="-7200">now</date> > > </lessThan> > > I can very well understand why user-level language needs constructs like this, > but for internal api, probably this would needlessly complicate the spec. > Somehow this resembles alowing Pi to be a valid value for a float field.
Except 'now' is a constantly changing value, making it much more suitable to represent as a special variable , and impossible to represent otherwise. Gabriel _______________________________________________ Xesam mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xesam
