diff options
-rw-r--r-- | modules/todo/todo.html | 3 |
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); } |