id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
2078	sde getFeature on DATE fields	joha	hobu	"I have found something as I see as a BUG.

I use getFeature in MapScript on a layer with date-fields.

It does only appear on SDE layers and it's the row below that crash as
soon as I have a date-field in the table.
shapeObj oShapeObj =
oLayerObj.getFeature(oResultCacheMemberObj.shapeindex,
oResultCacheMemberObj.tileindex);

Now I found the problem.

In mapsde.c I changed the line:
#define MS_SDE_TIMEFMT ""%T %m/%d/%Y""
to
#define MS_SDE_TIMEFMT ""%H:%M:%S %m/%d/%Y""

And then the problem was gone.

I use Visuals Studio 2005, and I can only guess that the %T is not
supported in that compiler.

I hope this can be changed in the mapsde.c-file.

/Johan"	defect	closed	high	5.0 release	Input - Native SDE Support	4.10	blocker	fixed	sde getfeature date	
