1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-29 00:33:15 +00:00

oops, actually correct delta

Actually change delta to a positive number to get the logic the same.
This commit is contained in:
Daniel Barrett 2014-02-05 12:37:37 -06:00
parent 32f290dc13
commit d02ce5dbf3

View File

@ -210,6 +210,7 @@ Returns an object with these members:
exports.getRelativeDate = function(delta) {
var futurep = false;
if (delta < 0) {
delta = -1*delta;
futurep = true;
}
var units = [