mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-01-07 09:42:52 -08: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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue