[mythtv-commits] Ticket #12348: Smart playlist date ranges are incorrectly handled

MythTV noreply at mythtv.org
Thu Jan 15 16:31:00 UTC 2015


#12348: Smart playlist date ranges are incorrectly handled
----------------------------------+-----------------------------
 Reporter:  stuartm               |          Owner:  paulh
     Type:  Bug Report - General  |         Status:  new
 Priority:  minor                 |      Milestone:  unknown
Component:  Plugin - MythMusic    |        Version:  Unspecified
 Severity:  medium                |     Resolution:
 Keywords:                        |  Ticket locked:  0
----------------------------------+-----------------------------
Description changed by stuartm:

Old description:

> This one is a matter of interpretation, and it could be argued that the
> current behaviour is correct but for the sake of simplicity for the
> average user I think it needs changing.
>
> If you specify a date range with the 'is between' criteria, it only
> returns matches which fall within, but not including those dates.
>
> e.g. is between "$DATE - 7 days and $DATE" the results returned exclude
> won't include 'today'. If you want to include 'today' you have to change
> the date to point to the future i.e. 'tomorrow' $DATE + 1.
>
> I think it's more intuitive if the ranges specified are inclusive.

New description:

 This one is a matter of interpretation, and it could be argued that the
 current behaviour is correct but for the sake of simplicity for the
 average user I think it needs changing.

 If you specify a date range with the 'is between' criteria, it only
 returns matches which fall within, but not including those dates.

 e.g. is between "$DATE - 7 days and $DATE" the results returned exclude
 'today'. If you want to include 'today' you have to change the date to
 point to the future i.e. 'tomorrow' $DATE + 1.

 I think it's more intuitive if the ranges specified are inclusive.

--

--
Ticket URL: <https://code.mythtv.org/trac/ticket/12348#comment:1>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list