globalizejs/globalize

Relative Time: Accept numberFormatter as optional argument

Open

#531 建立於 2015年10月10日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)JavaScript (645 fork)batch import
help wantedquick changerelative time module

倉庫指標

Star
 (4,759 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

It should be possible to:

var relativeTimeFormatter = Globalize( "en" ).relativeTimeFormatter(  "month", {
  numberFormatter: myFormatter
});

貢獻者指南