def build_add_effect(self, args, player=None):
        # TODO: fix character effects
        return "sorry, we're still working on effects."
        if not args:
            return 'Type "help effects" for help on this command.'
        exp = r'(?P<effect>\w+)([ ]+(?P<duration>\d+))'
        match = re.match(exp, args.lower().strip())
        if not match:
            return 'Type "help effects" for help on this command.'
        e, dur = match.group('effect', 'duration')
        if e in self.effects:
            self.effects[e].destruct()
            del self.effects[e]
        effect = EFFECTS[e]
        if not effect:
            return '%s is not a valid effect. Try "help list effects"' % e
        eff = effect({'duration': int(dur), 'item_type': 'food',
                        'item': self})
        eff.save()
        self.effects[e] = eff
        return '%s effect added.' % e.capitalize()
tests the logbook.set_datetime_format() function
dataset/ETHPy150Open shinymud/ShinyMUD/src/shinymud/models/item_types.py/Food.build_add_effect--crossover with--dataset/ETHPy150Open getlogbook/logbook/tests/test_logging_times.py/test_timedate_format