View Full Version : was Date.getElapsed() removed?
24 Oct 2010, 9:04 PM
I was using version 0.94, and after an upgrade to 0.97, the getElapsed() function doesn't seem to be in the Date package anymore..
Is this function being deprecated in favour of something else?
Thanks in advance!
24 Oct 2010, 9:30 PM
Found a solution, but the question still stands I guess..
What was removed, as I found out was a convenience method of Date.. So I had to change:
//return Math.round( this.lastStartedAt.getElapsed( date_now ) / 1000 );
return Math.round( Ext.util.Date.getElapsed( this.lastStartedAt ) / 1000 );
Just in case anybody is having the same issue :)
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.