mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-02-02 12:19:11 +00:00
oops, actually correct delta
Actually change delta to a positive number to get the logic the same.
This commit is contained in:
parent
32f290dc13
commit
d02ce5dbf3
@ -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 = [
|
||||
|
Loading…
Reference in New Issue
Block a user