Help,

I have just hit a problem with Selection to JSON that has me floored and I am 
hoping somebody can point me to missing setting or to my ignorance.

When including date fields in a template and using it with Selection to JSON 
dates that fall inside of BST the dates are being corrupted by taking off an 
hour making them the day before.

So a date like !18/05/2018! Is output as "2018-05-17T23:00:00" (date is in BST)

Whereas a date like !17/03/2018! Is output as "2018-03-17T00:00:00" (date is in 
GMT)

I am sure that 4D is trying to be very clever but I just don't get it and I am 
hoping that someone can tell me what I am missing and how to fix this other 
than rolling my own version of Selection to JSON...

Regards,  Dougie
________________________________________________________

telekinetix Limited- J. Douglas Cryer
Phone : 01234 761759  Mobile : 07973 675 218
2nd Floor Broadway House, 4-6 The Broadway, Bedford MK40 2TE
Email : jdcr...@telekinetix.com  Web : http://www.telekinetix.com 
<http://www.telekinetix.com/>
________________________________________________________





**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to