fixed bug in T-Th to give correct dates