jsch / datejs

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

Syntactic sugar .fromNow() and .ago() don't work. #69

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. (2).minutes.fromNow()

What is the expected output? 

A time that is two minutes from now.

What do you see instead?

The current time.

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

date-en-US.js from svn.

Please provide any additional information below.

The date.js in the downloads section doesn't exhibit this behavior. But it has 
a different issue 
where Date.parse('12:00 PM') returns null.  All my testing is on Safari 4.

Thanks!
-Mat

Original issue reported on code.google.com by mat.scha...@gmail.com on 17 Apr 2009 at 6:01

GoogleCodeExporter commented 9 years ago
My copy is SVN Revision: 195

Original comment by mat.scha...@gmail.com on 17 Apr 2009 at 6:02

GoogleCodeExporter commented 9 years ago
The fix:

http://github.com/bigfix/datejs/commit/bbe5ed2d838e6b671f48b71a390c58f8f98e4f7b

Original comment by john.fir...@gmail.com on 21 May 2010 at 12:25

GoogleCodeExporter commented 9 years ago
I still get this problem using a current build. Is it still being worked on?

Original comment by mar...@doo.net on 3 Jul 2012 at 1:47

GoogleCodeExporter commented 9 years ago
fixed in the current build of my fork:
https://github.com/abritinthebay/datejs/

Original comment by darkcr...@gmail.com on 14 Sep 2013 at 9:14