package utils;

import java.util.Date;

import org.joda.time.*;
import org.joda.time.format.DateTimeFormat;
import org.joda.time.format.DateTimeFormatter;

public class JodaDateUtil {
    public static Date today() {
        return LocalDate.now().toDate();
    }

    public static Date now() {
        return DateTime.now().toDate();
    }

    public static Duration ago(DateTime time) {
        return new Duration(DateTime.now(), time);
    }
    
    public static Duration ago(Date time) {
        return new Duration(DateTime.now(), new DateTime(time));
    }

}

@@ -404,32 +404,38 @@
 rn new Duration(
+time, 
 DateTime.now(), 
@@ -436,14 +436,8 @@
 ow()
-, time
 );%0A 
@@ -522,24 +522,8 @@
 ion(
-DateTime.now(), 
 new 
@@ -536,16 +536,32 @@
 me(time)
+, DateTime.now()
 );%0A    %7D

fix always show 'Just Now' in board