nanog mailing list archives

Re: Netscape JavaScript getYear() problem? CONFIRMED


From: Lloyd Taylor <ltaylor () keynote com>
Date: Sat, 1 Jan 2000 21:38:23 -0800 (PST)


We've found the same thing, and have coded around it for our
software.  I'll post details as soon as I get them from our
Engineering department.

--Lloyd Taylor
  VP Operations
  Keynote Systems

On Sat, 1 Jan 2000, Will Pierce wrote:

Date: Sat, 1 Jan 2000 23:37:01 -0500
From: Will Pierce <willp () nbinteractive com>
To: nanog () merit edu
Subject: Netscape JavaScript getYear() problem? Also bad JavaScript on CNN.


It appears that the javascript function "getYear" in the Date class
is inconsistent between Java implementations.  This happens when
getYear() is called with no arguments, in other  words, when getYear()
is queried for the current year.




Current thread: