adambene/dustjs-helper-formatdate — pull request #1 by framp (2014-06-16 00:01:40+00:00)
Title: Conforming to dustjs-helpers API

I think it's better if all the dust helpers follow a standard convention.
Conforming to what dustjs-helpers (and all the dustmotes modules - and several other modules) does is probably the best option.
As a plus, wth this pull request the code is able to work seamlessly in the browser and in node.js.

The code used to require formatdate would simply become:
````
var dust = require('dustjs -linkedin');
dust.helpers = require('dustjs-helpers').helpers; //HACK: https://github.com/linkedin/dustjs-helpers/issues/72
require('dustjs-helper-formatdate');
require('dustmotes-provide');
require('dustmotes-substr');
require('dustmotes-if');
require('dustmotes-iterate');
````

And for the browser: