Hello.
I’m currently testing boxlang to process the cfml in replacement of the adobe engine for some projects. I like how easy it was to setup with the compat-cfml and others modules.
I found a couple things that are not working correctly, not sure if it’s a bug or just “normal” and I’ll have to adjust the code.
My main issue is with the datetime usage as a string.
To use the lsDateTimeFormat for example, it needs to be a date, I cannot use a datetime as a string. I need to parseDateTime in order to make it work. This is working in adobe without any casting or parsing, meaning I can take my datetime coming from the database and formatting it directly.
This will give the error : Can’t cast [2022-06-28 16:50:35.943] to a DateTime, but works in adobe.
local.myString = "2025-01-01 13:45";
writeDump(lsDateTimeFormat(local.myString,"long"));
For the group attribute in the cfloop, any ETA when this will be available ?
CFLoop attributes not implemented yet! { group : “categoryID”, groupCaseSensitive : false, step : 1 }
Last thing I found, was the invoke method.
In adobe, the parameter is called methodName. This gives an error because boxlang parameter is method (not the same name).
Thanks !