Reply To: Playlist Tutorial

#3707
rpedde
Participant

That part isn’t done yet, but I think production rules will look something like:

date_criterion = date | date_interval BEFORE date | date_interval AFTER date
date = YYYY-MM-DD | TODAY | date_interval AGO
date_interval = NUMBER timespec | THE timespec
timespec = year(s) | week(s) | day(s)

so a valid time would be:

2 weeks before yesterday

or

6 months ago (this is implicitly ’30*6*24*60*60 seconds before time(NULL)’)

or even something crazy like:

2 days after the week before yesterday

valid comparisons would be > and