Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use date (%now%) to check against stored date #13

Open
deshi opened this issue Jun 2, 2013 · 0 comments
Open

use date (%now%) to check against stored date #13

deshi opened this issue Jun 2, 2013 · 0 comments

Comments

@deshi
Copy link

deshi commented Jun 2, 2013

Hello,

in my case dataentries should disapper from the datalist, when a certain date has passed. I configured as you can read in the following lines:

| - - - - datatemplateentry news - - - -
. . .
offline: 2013-05-20
| - - - -

| - - - - datatemplatelist - - - -
template: :wiki:templates:tpl_newslist
cols : %title%, imgname, abstract, erscheint, offline, schule
sort : ^erscheint

limit : 20

filter : schule=Berufliche Schulen
and : %now%<offline
| - - - -

Basicly there are following questions:

  • Does the plugin support dates und can they be compared, e.g. 2013-05-01<2013-06-01 => TRUE
  • Is there a variable like %now% which gives back the actual date in the format above.
  • Is it a big efford to implement this, if there is no such function

Thanks a lot for support.

Greetings
Steve

p.s. | are just used as there is an automatic formating which breaks the formating.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant