[flexcoders] Re: Dates Display Wrong on Random Clients?

2008-07-18 Thread javadmanx
Sounds good, thanks.

--- In flexcoders@yahoogroups.com, "Josh McDonald" <[EMAIL PROTECTED]> wrote:
>
> OK no worries. That's what we do here (setting times to 12 on the
way in and
> out of the service). There's a SOAP date type (as opposed to
dateTime), but
> we try not to use it because Xfire produces them incorrectly, and Flex's
> parser isn't robust enough to handle the rubbish data we get from
Xfire :)
> 
> The reason I was asking about which versions is just because Flex 2
had a
> bug and couldn't parse timezones.
> 
> What you have is bascially a business problem unfortunately, the
computers
> are doing what they do: recording time in an accurate way. I'd
suggest the
> "clean" fix is that when you need a client in timezone X to see a
time as it
> is in timezone Y (the server / business), you can either include the
> server's timezone offset in your response (nicer), or parse the date
> yourself ignoring the timezone info (seems kludgey to me).
> 
> -Josh
> 
> On Fri, Jul 18, 2008 at 2:56 AM, javadmanx <[EMAIL PROTECTED]> wrote:
> 
> > I'm using version 3 of Flex SDK. I did find a fix, not sure if it's
> > the right one. I found that the some clients had enough time offset
> > that it would change there date back on day. This was due to the fact
> > I'm using a date object, but not using the time part. So I had times
> > set to 0. I simple moved all times to 12 and that's it. It's not an
> > unwanted feature, just one I'm not using because of the local nature
> > of this application. Let me know if you have suggestions on better
> > handling this. I'm new with Flex. Thanks.
> >
> > --- In flexcoders@yahoogroups.com, "Josh McDonald"  wrote:
> > >
> > > What version of Flex are you using, what format is the date when
it goes
> > > into text, and how are you getting the results back? Have you
> > checked the
> > > text results coming from the server using something like Charles?
> > >
> > > I don't have any experience with Blaze, but plenty with Flex's
> > (occasionally
> > > dodgey) Date parsing code so I can probably help you out.
> > >
> > >
> > > :: 0437 221 380 :: josh@
> > >
> >
> >
> >
> > 
> >
> > --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives:
> > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
> > Links
> >
> >
> >
> >
> 
> 
> -- 
> "Therefore, send not to know For whom the bell tolls. It tolls for
thee."
> 
> :: Josh 'G-Funk' McDonald
> :: 0437 221 380 :: [EMAIL PROTECTED]
>




Re: [flexcoders] Re: Dates Display Wrong on Random Clients?

2008-07-17 Thread Josh McDonald
OK no worries. That's what we do here (setting times to 12 on the way in and
out of the service). There's a SOAP date type (as opposed to dateTime), but
we try not to use it because Xfire produces them incorrectly, and Flex's
parser isn't robust enough to handle the rubbish data we get from Xfire :)

The reason I was asking about which versions is just because Flex 2 had a
bug and couldn't parse timezones.

What you have is bascially a business problem unfortunately, the computers
are doing what they do: recording time in an accurate way. I'd suggest the
"clean" fix is that when you need a client in timezone X to see a time as it
is in timezone Y (the server / business), you can either include the
server's timezone offset in your response (nicer), or parse the date
yourself ignoring the timezone info (seems kludgey to me).

-Josh

On Fri, Jul 18, 2008 at 2:56 AM, javadmanx <[EMAIL PROTECTED]> wrote:

> I'm using version 3 of Flex SDK. I did find a fix, not sure if it's
> the right one. I found that the some clients had enough time offset
> that it would change there date back on day. This was due to the fact
> I'm using a date object, but not using the time part. So I had times
> set to 0. I simple moved all times to 12 and that's it. It's not an
> unwanted feature, just one I'm not using because of the local nature
> of this application. Let me know if you have suggestions on better
> handling this. I'm new with Flex. Thanks.
>
> --- In flexcoders@yahoogroups.com, "Josh McDonald" <[EMAIL PROTECTED]> wrote:
> >
> > What version of Flex are you using, what format is the date when it goes
> > into text, and how are you getting the results back? Have you
> checked the
> > text results coming from the server using something like Charles?
> >
> > I don't have any experience with Blaze, but plenty with Flex's
> (occasionally
> > dodgey) Date parsing code so I can probably help you out.
> >
> >
> > :: 0437 221 380 :: [EMAIL PROTECTED]
> >
>
>
>
> 
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
> Links
>
>
>
>


-- 
"Therefore, send not to know For whom the bell tolls. It tolls for thee."

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]


[flexcoders] Re: Dates Display Wrong on Random Clients?

2008-07-17 Thread javadmanx
I'm using version 3 of Flex SDK. I did find a fix, not sure if it's
the right one. I found that the some clients had enough time offset
that it would change there date back on day. This was due to the fact
I'm using a date object, but not using the time part. So I had times
set to 0. I simple moved all times to 12 and that's it. It's not an
unwanted feature, just one I'm not using because of the local nature
of this application. Let me know if you have suggestions on better
handling this. I'm new with Flex. Thanks.

--- In flexcoders@yahoogroups.com, "Josh McDonald" <[EMAIL PROTECTED]> wrote:
>
> What version of Flex are you using, what format is the date when it goes
> into text, and how are you getting the results back? Have you
checked the
> text results coming from the server using something like Charles?
> 
> I don't have any experience with Blaze, but plenty with Flex's
(occasionally
> dodgey) Date parsing code so I can probably help you out.
> 
>
> :: 0437 221 380 :: [EMAIL PROTECTED]
>




Re: [flexcoders] Re: Dates Display Wrong on Random Clients?

2008-07-15 Thread Josh McDonald
What version of Flex are you using, what format is the date when it goes
into text, and how are you getting the results back? Have you checked the
text results coming from the server using something like Charles?

I don't have any experience with Blaze, but plenty with Flex's (occasionally
dodgey) Date parsing code so I can probably help you out.

-Josh

On Wed, Jul 16, 2008 at 4:22 AM, javadmanx <[EMAIL PROTECTED]> wrote:

> This post seems to sum up the issue. Anyone have a better answer to
> the solution? Is there a simple fix?
>
>
> http://www.axelscript.com/2008/02/20/timezone-issues-with-remote-datetime-data-and-flash/
>
>
> 
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
> Links
>
>
>
>


-- 
"Therefore, send not to know For whom the bell tolls. It tolls for thee."

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]


[flexcoders] Re: Dates Display Wrong on Random Clients?

2008-07-15 Thread javadmanx
This post seems to sum up the issue. Anyone have a better answer to
the solution? Is there a simple fix?

http://www.axelscript.com/2008/02/20/timezone-issues-with-remote-datetime-data-and-flash/



[flexcoders] Re: Dates Display Wrong on Random Clients?

2008-07-15 Thread javadmanx
I'm not seeing any specific pattern. I tried another XP machine and
it's working just fine. I've update flash to the newest versions and
still the same issue. I've tried my Linux machine as well, works there
too. Is there a bug? I'm not doing any tricky code with the date.