mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-13 11:32:20 -05:00
Update fuzzyMoment.js
This commit is contained in:
parent
cf1d88343d
commit
144a05ff20
@ -121,7 +121,7 @@
|
|||||||
else
|
else
|
||||||
fuzzer = (6 == day);
|
fuzzer = (6 == day);
|
||||||
if (fuzzer)
|
if (fuzzer)
|
||||||
result = result.replace(/\bOn\b/, 'Next');
|
result = result.replace(/\bOn\b/i, 'Next');
|
||||||
|
|
||||||
} else if (! /\b((yester|to)day\b|tomo|last\b)/i.test(result)) {
|
} else if (! /\b((yester|to)day\b|tomo|last\b)/i.test(result)) {
|
||||||
if (14 > day)
|
if (14 > day)
|
||||||
|
Loading…
Reference in New Issue
Block a user