Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
update documentation for ss threshold (#662)
  • Loading branch information
marwahaha committed Jun 17, 2020
1 parent 6b4bf0d commit cf691b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/moment/07-customization/13-relative-time-threshold.md
Expand Up @@ -18,7 +18,7 @@ signature: |
<tr>
<td>ss</td>
<td>a few seconds</td>
<td>least number of seconds to be considered seconds. Must be set after setting the `s` unit or without setting the `s` unit.</td>
<td>least number of seconds to be counted in seconds, minus 1. Must be set after setting the `s` unit or without setting the `s` unit.</td>
</tr>
<tr>
<td>s</td>
Expand Down Expand Up @@ -64,8 +64,8 @@ signature: |
moment.relativeTimeThreshold('M'); // 11

// Set new thresholds
moment.relativeTimeThreshold('ss', 3);
moment.relativeTimeThreshold('s', 40);
moment.relativeTimeThreshold('ss', 3);
moment.relativeTimeThreshold('m', 40);
moment.relativeTimeThreshold('h', 20);
moment.relativeTimeThreshold('d', 25);
Expand Down

0 comments on commit cf691b8

Please sign in to comment.