nl_tokens: format date using native date object
pl_tokens: function formatMoment ( m , format ) { var i = 5 ; function replaceLongDateFormatTokens ( input ) { return m . lang ( ) . longDateFormat ( <mask> ) || input ; } while ( i -- && localFormattingTokens . test ( format ) ) { format = format . replace ( localFormattingTokens , replaceLongDateFormatTokens ) ; } if ( ! formatFunctions [ format ] ) { formatFunctions [ format ] = makeFormatFunction ( format ) ; } return formatFunctions [ format ] ( m ) ; }