'Reads time info from current room'

def func(self):

    location = self.caller.location
    if ((not location) or (not hasattr(location, 'get_time_and_season'))):
        self.caller.msg('No    location    available    -    you    are    outside    time.')
    else:
        (season, timeslot) = location.get_time_and_season()
        prep = 'a'
        if (season == 'autumn'):
            prep = 'an'
        self.caller.msg(("It's    %s    %s    day,    in    the    %s." % (prep, season, timeslot)))
