removed more agenda related date calculation code and added week_agenda support in its place