• Notification and news item

    By Steve Macca 1 decade ago

    on the start page and put in a break the ice news item, it always says "Error -5 Minutes ago " with the clock symbol next to it

    When someone comments to that news item, the notification icon shows that user xxxx commented on the item 176 min ago.

    I dont see any errors in extended logging for admin or the log in client or on the domino server console

    • Date format

      By Thomas Adrian 1 decade ago

      1. are  you running local or on server?

      2. which regional setting format is used on server?

       

       

      /Thomas

      • server

        By Steve Macca 1 decade ago

        The domino server is on a virtualbox virtual server. Its time is synced to the local machine. It is 2003 64bit using regional setting of Australia (same as local machine).

         

        Domino ver 8.5.3FP1

        extlib ver 8.5.3.20120605-0921

         

      • I made a change

        By Steve Macca 1 decade ago

        I made a change to the function getAgo() and it works a treat for me, but not aware of consequences down the track

         

        here it the function changed

        • additional change

          By Steve Macca 1 decade ago

          might want to cange this part of the code

           

          if

           

           

          (days==1){

           

          return days + " day ago";

          }

          else if(days>1){

           

          return days + " days ago";

          }

          else if(hours==1){

           

          return "1 hour ago";

          }

          else if(hours>1){

           

          return hours + " hours ago";

          }

          else if(min==1){

           

          return min + " minute ago";

          }

          else if(min>1){

           

          return min + " minutes ago";

          }

          else if(min==0){

           

          return "less than a minute ago";

          }

          else{

           

          return "Error " + min + " Minutes ago";

           

          //return "Error " + datetime + " minutes " + dt3 + v;

          }