Relative time classes and proper templates