${date?string('yyyy-MM-dd')} if date is null,freemarker will raise a exception
here is a solution <#if date??>${date?string('yyyy-MM-dd')} but this code is ugly,is there any shortcut like ${date!} ?
${date?string('yyyy-MM-dd')} if date is null,freemarker will raise a exception
here is a solution <#if date??>${date?string('yyyy-MM-dd')} but this code is ugly,is there any shortcut like ${date!} ?