Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
Ben Nadel at Scotch On The Rocks (SOTR) 2011 (Edinburgh) with: Guust Nieuwenhuis and Damien Bruyndonckx and Steven Peeters and Cyril Hanquez
Ben Nadel at Scotch On The Rocks (SOTR) 2011 (Edinburgh) with: Guust Nieuwenhuis@Lagaffe ) , Damien Bruyndonckx ( @damienbkx ) , Steven Peeters@aikisteve ) , and Cyril Hanquez@Fitzchev )

James

Member since Dec 11, 2008

Recent Blog Comments By James

  • Demonstration Of Date Object Formatting Using Date Prototyping

    Posted on Jan 3, 2008 at 12:08 AM

    Hey, by the way there is what I would consider to be a "bug" in this. getMonth() is a zero based function, so months like January come back as 0 and December comes back as 11. It can be fixed like this: "m": this.getMonth()+1, "mm": ((this.getMonth()+1).toString().length == 1) ? ("0" + this.getMo... read more »