Copy link to clipboard
Copied
Hi,
I have recently upgraded to CF2021.
I am having an issue with date formatting.
I have the code below.
It was a bug. The solution is to add the following flag
-Dcoldfusion.datemask.useDasdayofmonth=true
to your JVM settings.
You can do this in one of 2 ways:
Well, to be clear, that is only if you have applied update 1 (from last week). If not, the JVM arg will do no good unless you do also get and implement a special hotfix that was made available to solve this problem (by way of that jvm arg which it enabled and honors). For more, see my blog post from soon after CF2021 was released in November:
Copy link to clipboard
Copied
It was a bug. The solution is to add the following flag
-Dcoldfusion.datemask.useDasdayofmonth=true
to your JVM settings.
You can do this in one of 2 ways:
Copy link to clipboard
Copied
Well, to be clear, that is only if you have applied update 1 (from last week). If not, the JVM arg will do no good unless you do also get and implement a special hotfix that was made available to solve this problem (by way of that jvm arg which it enabled and honors). For more, see my blog post from soon after CF2021 was released in November:
Copy link to clipboard
Copied
Thanks for the help, Problem solved 🙂