bluesmoon/node-prettydate — Issue #2: Missing augmentDate
Author: dz0ny
Created: 2011-12-02 21:09:11+00:00
State: open

Function augmentDate doesn't exsist

solution could be

Date.prototype.strftime = function (str, locale) {
return require('prettydate').strftime(this, str, locale);
};

console.log(new Date().strftime("%r")) // 10:05:53 PM
console.log(new Date().strftime) // [Function]