Handle template years ("XXXX")