Not all programs have a start and end date.


On Wed, May 22, 2013 at 1:05 PM, Brian J Brennan
<notifications@github.com>wrote:

> In template.js:
>
> > @@ -61,5 +61,15 @@ exports.buildEnvironment = function buildEnvironment(options) {
> >      }[access];
> >    });
> >
> > +  env.addFilter('dateInput', function (date) {
> > +    return date.toISOString().split('T')[0];
>
> Start and end will be required (I think?), but I'll still add a null check
> just to be extra defensive.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/mozilla/openbadger/pull/110/files#r4344895>
> .
>



-- 
@chmcavoy <http://twitter.com/chmcavoy>
http://lonelylion.com