RE: [contentbox-version] Date/Time bug in layouts > forgebox

Interesting-- that might explain why it still works for those of us running Railo. The code that returns entries for the API doesn’t touch the dates specifically. The code looks like this:

rc.results.data = forgeService.getEntries(orderBy=rc.orderBy,
typeSlug=rc.typeSlug,
startrow=rc.startrow,
maxrows=rc.maxrows,
api=true);

event.renderData(data=rc.results,type=rc.format,xmlRootName=“forgebox”);

I’m not sure where/how ForgeBox needs to be changed to modify the default way that dates are being formatted.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

My guess the database, and CF-ORM in Railo is the culprit. If the code (ForgeBox) hasn’t changed but Railo has been updated, this would explain why this has only just started happening as well.