The problem is the plugin uses d.getYear() which returns the current 
year minus 1900. To get the actual year that line should be changed to 
d.getFullYear(). Quick fix until the plugin gets officially updated.

-blair

Louise Dade wrote:
> Hi,
>
> [I'm usually a lurker, this is my first response - been using JQuery
> for a couple of months now and loving it!]
>
> On 09/11/06, Christopher Jordan <[EMAIL PROTECTED]> wrote:
>>  Today, I was in need of a function to parse strings in the ODBCDateTime
>> format. I needed to convert a string in the ODBCDateTime format to a valid
>> JavaScript Date object, and vise versa. So instead of just writing the
>> functions for me, I decided to make them a plugin for jQuery.
>
> I cheked out your plugin, and the conversion from ODBCDateTime to a JS
> string worked fine, but the 'JS to ODBCDatetime' function threw up a
> problem when I tried it/
>
> My current system time came up as:  106-11-9 10:50:59
>
> That puts me in the Iron Age!  (My system clock appears to be correct 
> elsewhere.
>
> Otherwise, great - and useful - addition.
>
> Regards,
> Louise Dade
>


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to