Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
gobwas committed Sep 30, 2015
1 parent f56dd06 commit 004d137
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -24,7 +24,7 @@ var y = d * 365.25;
module.exports = function(val, options){
options = options || {};
if ('string' == typeof val) return parse(val);
return options.long
return options['long']
? fmtLong(val)
: fmtShort(val);
};
Expand Down

0 comments on commit 004d137

Please sign in to comment.