// Date object that always reflects current time (with one second resolution)

'use strict';

var curry = require('es5-ext/lib/Function/prototype/curry')

  , update;

update = function () {
	this.setTime(Date.now());
};

module.exports = function () {
	var date = new Date();
	date.clear = curry.call(clearInterval, setInterval(update.bind(date), 1000));
	return date;
};

// Date object that always reflects current time (with one second resolution)

'use strict';

var curry = require('es5-ext/lib/Function/curry').call

  , update;

update = function () {
	this.setTime(Date.now());
};

module.exports = function () {
	var date = new Date();
	date.clear = curry(clearInterval, setInterval(update.bind(date), 1000));
	return date;
};

--- 
+++ 
@@ -2,7 +2,7 @@
 
 'use strict';
 
-var curry = require('es5-ext/lib/Function/curry').call
+var curry = require('es5-ext/lib/Function/prototype/curry')
 
   , update;
 
@@ -12,6 +12,6 @@
 
 module.exports = function () {
 	var date = new Date();
-	date.clear = curry(clearInterval, setInterval(update.bind(date), 1000));
+	date.clear = curry.call(clearInterval, setInterval(update.bind(date), 1000));
 	return date;
 };
Update up to changes in es5-ext
