Hotfix released for CF2021 date-mask compatibility issue
Note: This blog post is from 2020. Some content may be outdated--though not necessarily. Same with links and subsequent comments from myself or others. Corrections are welcome, in the comments. And I may revise the content as necessary.Good news to share: if you're concerned about being impacted by a pressing compatibility issue in ColdFusion 2021 (regarding using "D" in a dateformat mask), Adobe released a fix for the problem last week. There are 3 simple steps to implementing that fix, one of which is a JVM arg change to that YOU MUST MAKE--even with the "fix" in place--if you want to revert the behavior.
Or you can change your CFML code to get around the problem, as I also discuss below.
[Update: As of Mar 2021, Adobe now offers implements this "hotfix" into CF2021 Update 1 (and above). You DO still need to add the JVM arg discussed, if you want to revert the behavior:
It's just that yo uno longer need to obtain and implement the specialhotfix jar file I'd announced with this post. Again the update does NOT change the DEFAULT behavior, which is why that JVM arg is still necessary. The rest of the information below applies.]
Read on for additional details.