Re: add selection to json and date formatting

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: add selection to json and date formatting

Tom DeMeo
Hi,


According to the A4D docs, the JSON command *add selection to json* write
dates in IETF “Mon Day, Year” format (“Aug 27, 1931”). Is there any way to
decide on a different format? I can see that a map can be used to modify
individual field values, but is there a way to do this generically so I
don’t have to write mapping for each date field?


Thanks


Tom DeMeo



--
Sent from: http://active4d-nabble.aparajitaworld.com/
_______________________________________________
Active4D-dev mailing list
[hidden email]
http://list.aparajitaworld.com/listinfo/active4d-dev
Archives: http://active4d-nabble.aparajitaworld.com/
Reply | Threaded
Open this post in threaded view
|

Re: add selection to json and date formatting

Aparajita Fishman
Hi Tom,

At the moment there is no way to change the time format. I'm going to add this to the next release of v7. In the meantime you can manually build the json for the selection and convert dates to whatever format you want.
 
All the best,

  - Aparajita

> On Nov 4, 2017, at 2:04 PM, Tom DeMeo <[hidden email] <mailto:[hidden email]>> wrote:
>
> Hi,
>
>
> According to the A4D docs, the JSON command *add selection to json* write
> dates in IETF “Mon Day, Year” format (“Aug 27, 1931”). Is there any way to
> decide on a different format? I can see that a map can be used to modify
> individual field values, but is there a way to do this generically so I
> don’t have to write mapping for each date field?
>
>
> Thanks
>
>
> Tom DeMeo
>
>
>
> --
> Sent from: http://active4d-nabble.aparajitaworld.com/ <http://active4d-nabble.aparajitaworld.com/>
> _______________________________________________
> Active4D-dev mailing list
> [hidden email] <mailto:[hidden email]>
> http://list.aparajitaworld.com/listinfo/active4d-dev
> Archives: http://active4d-nabble.aparajitaworld.com/

_______________________________________________
Active4D-dev mailing list
[hidden email]
http://list.aparajitaworld.com/listinfo/active4d-dev
Archives: http://active4d-nabble.aparajitaworld.com/