mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-02-02 20:29:10 +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) {
|
exports.getRelativeDate = function(delta) {
|
||||||
var futurep = false;
|
var futurep = false;
|
||||||
if (delta < 0) {
|
if (delta < 0) {
|
||||||
|
delta = -1*delta;
|
||||||
futurep = true;
|
futurep = true;
|
||||||
}
|
}
|
||||||
var units = [
|
var units = [
|
||||||
|
Loading…
Reference in New Issue
Block a user