From: Neill M. <ne...@nl...> - 2010-12-23 20:13:14
|
Hi Jeroen. Thanks for your reply. I do #sets elsewhere with string, page and number properties. They all work. It's just dates that don't seem to work. I have a query elsewhere that shows them and I can see the Last Met is not being set. I've tried running runJobs.php, but no updates were outstanding. I'm running SMW 1.5.4 with MW 1.16. Cheers Neill. On 23/12/10 19:02, Jeroen De Dauw wrote: > Hey, > > How do you know it doesn't work? Do all #set fail, or is it just for dates? > Also, what version of SMW are you using? > > Cheers > > -- > Jeroen De Dauw > http://blog.bn2vs.com > Don't panic. Don't be evil. > -- > > > On 23 December 2010 19:29, Neill Mitchell<ne...@nl...> wrote: > >> Hi Jeroen. >> >> I actually simplified what I'm doing. I've got some logic that decides when >> to do the assign based on one date being greater than another. >> >> For example: >> >> {{#if |{{#op | {{#strtotime:{{{Planned Date|}}}|2000|1|1|Ymd}}|> >> |{{#strtotime:{{{Last Met|}}}|2000|1|1|Ymd}}}}|| >> {{#set:Last Met={{{Planned Date|}}}}}}} >> >> This works out if a meetings Planned Date> Last Met date and then does a >> #set if it is. >> >> The complex looking logic all works, but the #set doesn't. >> >> Cheers >> Neill. > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, and, > should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Semediawiki-user mailing list > Sem...@li... > https://lists.sourceforge.net/lists/listinfo/semediawiki-user > |