LPS-34696 The code added in the template when we add a field date from the Palette in Journal Template is wrong