If anyone is using the OBJ module in v16r6 or v17, please be aware there is a 
bug in 4D (reported as ACI0098267) that causes problems with dates. The OBJ 
module stores dates in an object as a string in the format “2018-05-24” and 
handles the conversion back and forth as necessary. If the object gets 
converted to a blob (OBJ_Save_ToBlob  or OBJ_Save_ToGZIP), when it is converted 
back to an object 4D is inexplicably changing the string value from 
“2018-05-24” to “2018-05-25T06:00:00.000T” which really messes up the 
conversion logic inside the OBJ module.

The workaround is to change line 20 of OBJP_ConvertToDate to check for a length 
>= 10 instead of just = 10.

HTH.

--
Cannon.Smith
Synergy Farm Solutions Inc.
Hill Spring, AB Canada
403-626-3236
<[email protected]>
<www.synergyfarmsolutions.com>


**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to