sobhagya-sahu / datejs

Automatically exported from code.google.com/p/datejs
0 stars 0 forks source link

Date.compare ( Date date1, Date date2 ) not exist in date.js that i download #128

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. I use the example on the start
2. Is not working in line Date.compare
3. The script message is: the object does't support compare method

What is the expected output? What do you see instead?
Error script

What version of the product are you using? On what operating system?
latest

Please provide any additional information below.

Original issue reported on code.google.com by tho...@gmail.com on 22 Jul 2011 at 8:43

GoogleCodeExporter commented 8 years ago
Available in the current build in my fork: 
https://github.com/abritinthebay/datejs/

Original comment by darkcr...@gmail.com on 16 Sep 2013 at 3:54

GoogleCodeExporter commented 8 years ago
Hi there,
I downloaded the latest version today, and when I use the following code in 
firefox - 
 ...some code
 console.log(Date.compare(today, future));                    // -1

I get the error - TypeError: Date.compare is not a function

Attached is the file I downloaded,
Please advise,

Thanks,
Saket

Original comment by sa...@cwl.co.in on 24 Dec 2013 at 6:35

Attachments: