DateTime send via webservice

2
Is there any way to set the timezone of the DateTime that is transmitted via a webservice? It seems to always use UTC, even if the DateTime is localized.
asked
1 answers
4

Currently, there are no ways in which you can localize the data produced by a published webservice, it's always returned in UTC format.

As a workaround, I'd suggest using a virtual attribute to convert it to a string in the timezone you want.

answered