Copy link to clipboard
Copied
Hi,
I'm using ColdFusion version 10,0,11,285437.
I'm trying to create a Scheduled Task using ColfFusion admin page. If I set Start Time as "1:00 AM", I get message saying:
"An error occured scheduling the task.
1:00:00 ap. is an invalid date or time string."
And same error message comes with any input. Here are some examples what I have tried:
"01:00", "13:00", "13:00:00", "1:00:00 PM"...
Copy link to clipboard
Copied
I have just looked. The mouseover tip says you should use: 01:00 AM
Copy link to clipboard
Copied
Entering "01:00 AM" also gives the same error.
Copy link to clipboard
Copied
Sorry about that. I can now see it is a known bug, apparently due to Java 7. One workaround is to add the flag -Dsun.locale.formatasdefault=true to the JVM arguments in the ColdFusion Administrator or in the file jvm.config.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now