Shall I merge this as it is and create an issue to change boundaries with
window (ie from xx:xx:xx to yy:yy:yy with from xx:xx:xx window +Yhs) ?


2013/4/10 Tomas Neme <notifications@github.com>

> In drivers/playlists/mongo-driver.js:
>
> > @@ -48,48 +60,85 @@ function mongo_driver() {
> >      };
> >
> >      mongo_driver.prototype.validTimes = function() {
> > -        var now = moment(new Date());
> > -        var until = moment(new Date());
> > -        until.add(config.load_time * 60 * 1000);
> > -        return {
> > -            from: now,
> > -            to: until
> > +        if( self.boundaries ) {
> > +            return self.boundaries;
> > +        } else {
> > +            var now = moment(new Date());
> > +            var until = moment(new Date());
> > +            until.add(config.load_time * 60 * 1000);
>
> yes. "window" is better than boundaries. But it still refers to the
> absolute times, which is what we have now (and is good, too), I'll ask a
> translator friend of mine
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/inaes-tic/mbc-mosto/pull/38/files#r3746679>
> .
>