Cleaner code to customize date cell