Re: toGMTString() on 30 day month

"Kris Ardis" <Kristopher.Ardis-6tN4nzCoH/[email protected]> Wed, 9 Jun 2004 06:59:10 -0500
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <007401c44e19$2d269a30$764000b4@kardis>
This issue has already been fixed for the upcoming 1.13 release.

Kris

----- Original Message -----
From: "Joel P." <[email protected]>
To: <tini-6tN4nzCoH/[email protected]>
Sent: Sunday, June 06, 2004 12:06 PM
Subject: [TINI]toGMTString() on 30 day month


> I'm seeing a possible problem with Date.toGMTString() on a 30 day month
with
> a time zone other than GMT; the string is output with a 31st day.
>
> With my TINI 1.12 time zone set to PST and a local date of 04/30/2004
> 22:00:00 (i.e. date 04302004220000 PST), the following code produces a
> string with 31 days in April:
>
> Date date = new Date(System.currentTimeMillis());
> System.out.println(date.toGMTString());
>
> The output is "31 Apr 2004 05:00:00 GMT" instead of "01 May 2004 05:00:00
> GMT". Is this a known issue?
>
> Thanks -- Joel
> _______________________________________________
> TINI mailing list
> TINI-6tN4nzCoH/[email protected]
> To UNSUBSCRIBE, edit your profile, or see list archives:
> http://lists.dalsemi.com/mailman/listinfo/tini
>


_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini