1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-13 03:22:22 -05:00

Update fuzzyMoment.js

This commit is contained in:
JackDandy 2014-05-25 23:15:04 +01:00
parent cf1d88343d
commit 144a05ff20

View File

@ -121,7 +121,7 @@
else
fuzzer = (6 == day);
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)) {
if (14 > day)