443
524
def _match_on(self, branch, revs):
447
527
value can be 'yesterday', 'today', 'tomorrow' or a YYYY-MM-DD string.
448
528
matches the first entry after a given date (either at midnight or
454
534
today = datetime.datetime.fromordinal(datetime.date.today().toordinal())
455
535
if self.spec.lower() == 'yesterday':
456
536
dt = today - datetime.timedelta(days=1)