diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -37,5 +37,5 @@ module.exports.setDefaultFormat = function(format) {
  * Add filter to nunjucks environment
  */
 module.exports.install = function(env, customName) {
-    env.addFilter(customName || 'date', getFilter());
+    env.addFilter(customName || 'date', getFilter);
 };
Module: Modified getFitler functionality.

- removed extra parenthesis otherwise filter does not work when added to nunjucks.