Skip to content

Commit

Permalink
Ensure an hour works properly
Browse files Browse the repository at this point in the history
  • Loading branch information
KyrneDev committed Mar 26, 2020
1 parent 4e5e3db commit 99946e6
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion js/dist/forum.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/dist/forum.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/src/forum/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import humanTime from 'flarum/utils/humanTime'
app.initializers.add('fof-realtimedate', () => {
moment.relativeTimeThreshold('s', 60);
moment.relativeTimeThreshold('ss', 10);
moment.relativeTimeThreshold('m', 89);
moment.relativeTimeThreshold('m', 60);


function updateHumanTimes() {
Expand Down
Binary file not shown.

This file was deleted.

0 comments on commit 99946e6

Please sign in to comment.