summaryrefslogtreecommitdiff
path: root/modules/todo
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2016-10-28 16:30:32 +0200
committertomsmeding <tom.smeding@gmail.com>2016-10-28 16:30:32 +0200
commitef6d903de0ec107770ccbc8efb8ee447d6cad840 (patch)
treee9e21b8d3f4a0a70f8ee7627632a2fbae556c5d7 /modules/todo
parent3d5b979c7c2d15a507368500ab0d346521366173 (diff)
todo: In 1 day -> tomorrow
Diffstat (limited to 'modules/todo')
-rw-r--r--modules/todo/todo.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/todo/todo.html b/modules/todo/todo.html
index 8e6efdf..309fb18 100644
--- a/modules/todo/todo.html
+++ b/modules/todo/todo.html
@@ -64,6 +64,9 @@ function fancydate(date){
if(diffweeks>0){
return "In "+diffweeks+" week"+(diffweeks==1?"":"s")+", "+diffdays%7+" day"+(diffdays%7==1?"":"s");
}
+ if(diffdays==1){
+ return "Tomorrow, "+fancytime(dateS);
+ }
return "In "+diffdays+" day"+(diffdays==1?"":"s")+", "+fancytime(dateS);
}