I think you might want to do the rendering trick and keep the adjustments in account because if you change the actual timezone and send back new data you’ll have adjusted it so it would be wrong in the database.  Otherwise you should simply take a result handler and iterate through all the dates fixing them up initially.

 

Matt

 


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of bhaq1972
Sent: Friday, May 20, 2005 11:13 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: how can i stop my date-time timezone data from b eing adjusted

 

Thanks Manish. I tried out your suggestion but i would still prefer to
change the dataProvider value  to be the same as the value in the
database, rather than just effect the rendering.

thanks
bod





--- In flexcoders@yahoogroups.com, Manish Jethani
<[EMAIL PROTECTED]> wrote:
> On 5/20/05, bhaq1972 <[EMAIL PROTECTED]> wrote:
>
> >Do you have any recommendation how i would
> > apply this code before binding to a datagrid. My result handlers
> > after an async call usually look like this
> >
> > function resultHandler(result){
> >   datagrid1.dataProvider = result;
> > }
>
> Use a DataGridColumn, set a labelFunction on it, and format the data
> in the labelFunction.





Yahoo! Groups Links

Reply via email to