globalizejs/globalize

Relative Time: Accept numberFormatter as optional argument

Open

#531 建立於 2015年10月10日

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

描述

It should be possible to:

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

貢獻者指南

Relative Time: Accept numberFormatter as optional argument · globalizejs/globalize#531 | Good First Issue