date formatting decorator (basic)