Reply To: Playlist Tutorial


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


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