nl_tokens: * @method relative ( [ fn ] [ locale ] = currentLocale ) @returns String @short Returns a relative date string offset to the current time . @extra [ fn ] can be passed to provide for more granular control over the resulting string . [ fn ] is passed 4 arguments : the adjusted value unit offset in milliseconds and a localization object . As an alternate syntax [ locale ] can also be passed as the first ( and only ) parameter . For more see @date_format . @example
pl_tokens: function ( f , localeCode ) { if ( isString ( f ) ) { localeCode = f ; f = null ; } return formatDate ( this , f , <mask> , localeCode ) ; }