如果我使用
moment().startOf("minute").fromNow();
Run Code Online (Sandbox Code Playgroud)
我会得到:
a few seconds ago
a minute ago
...
Run Code Online (Sandbox Code Playgroud)
是否可以格式化输出如下?
00:00 minutes ago
00:01 minutes ago
...
Run Code Online (Sandbox Code Playgroud)